global.asa

Discussion in 'ASP General' started by abcd, Aug 25, 2006.

  1. abcd

    abcd Guest

    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
     
    abcd, Aug 25, 2006
    #1
    1. Advertising

  2. abcd

    Evertjan. Guest

    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)
     
    Evertjan., Aug 25, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Darlene Gauthier

    PostRequestHandlerExecute event in global.asa

    Darlene Gauthier, Jul 23, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    1,444
    Karl Seguin
    Jul 23, 2003
  2. Kevin Spencer

    Re: global.asa file (count sessions)

    Kevin Spencer, Jul 30, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    365
    Kevin Spencer
    Jul 30, 2003
  3. DevBoy

    Global.asa File ?????

    DevBoy, Aug 12, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    371
    Rick Strahl [MVP]
    Aug 13, 2003
  4. Wayne
    Replies:
    2
    Views:
    495
    Wayne
    Nov 11, 2003
  5. Raghu
    Replies:
    1
    Views:
    4,126
    Raghu
    Feb 17, 2005
Loading...

Share This Page