beginner question on global.asa

Results 1 to 3 of 3

Thread: beginner question on global.asa

  1. #1
    Jeff T Guest

    Default beginner question on global.asa

    trying to learn how use global.asa with the timeout function. Must be doing something wrong because after waiting longer than timeout period I can still run queries against database. <BR><BR>FYI all my query pages are password protected - through cookies.<BR><BR>global.asa -<BR> <BR>&#060;script language=vbscript runat=server&#062;<BR>SUB Application_OnStart<BR>Session.Timeout = 10 <BR>END SUB<BR>SUB Application_OnEnd<BR>END SUB<BR>SUB Session_OnStart<BR>END SUB<BR>SUB Session_OnEnd<BR>END SUB<BR>&#060;/script&#062;<BR>

  2. #2
    Join Date
    Dec 1969
    Los Angeles, CA

    Default If you want it fixed

    set it in the project properties of your IIS. Otherwise try it in your session onstart event. I have nevcer done that so i am not sure if it will work.<BR><BR><BR>

  3. #3
    Jeff T Guest

    Default RE: If you want it fixed

    dumb mistake on my part. Although...when correcting the global.asa file to this below it still does not timeout at 10 minutes. <BR><BR>&#060;script language=vbscript runat=server&#062;<BR>SUB Application_OnStart<BR>END SUB<BR>SUB Application_OnEnd<BR>END SUB<BR>SUB Session_OnStart<BR>Session.Timeout = 10 <BR>END SUB<BR>SUB Session_OnEnd<BR>END SUB<BR>&#060;/script&#062;<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts