Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP General (http://www.velocityreviews.com/forums/f65-asp-general.html)
-   -   global.asa (http://www.velocityreviews.com/forums/t801889-global-asa.html)

abcd 08-25-2006 06:11 PM

global.asa
 
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



Evertjan. 08-25-2006 06:23 PM

Re: global.asa
 
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)


All times are GMT. The time now is 02:45 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.