Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > global.asa

Reply
Thread Tools

global.asa

 
 
abcd
Guest
Posts: n/a
 
      08-25-2006
I have written general purpose functions in an .inc file

when I include that file using #include to my global.asa I get errors. whats
the correct way to include that .inc file in global.asa


 
Reply With Quote
 
 
 
 
Evertjan.
Guest
Posts: n/a
 
      08-25-2006
abcd wrote on 25 aug 2006 in microsoft.public.inetserver.asp.general:

> I have written general purpose functions in an .inc file
>
> when I include that file using #include to my global.asa I get errors.
> whats the correct way to include that .inc file in global.asa


I do not know if you can incluse in global.asa,
but even writing functions directly in global.asa
does not make them available an asp page, methinks.

Include them in each page seperately.

do not name the file .inc, but .asp,
if you do not want them readable from the web,
unless they are located outside accessable folder structure.


--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Advertisments