global.asa wont run

Results 1 to 2 of 2

Thread: global.asa wont run

  1. #1
    Join Date
    Dec 1969

    Default global.asa wont run

    Hi and thanks<BR>I&#039;ve been trying to set some Session variables in my global.asa, but it dosent seem to get run. If I set the Session vars outside global.asa everything is fine. Tried restarting the machine and no good. I use IIS5 and VID .The global.asa is in the wwwroot dir, in a folder with the rest of the sites files. <BR>the code in the .asa is<BR>Sub Session_OnStart<BR> Dim objPageCount<BR> Set objPageCount = Server.CreateObject("MSWC.PageCounter")<BR> &#039;Increment the counter<BR> objPageCount.PageHit()<BR> Session("pageHits")=objPageCount.Hits()<BR> <BR>End Sub<BR>whats the go?<BR>Thanks

  2. #2
    Fred Guest

    Default RE: global.asa wont run

    I think that you still have to make your web site an "Application" in IIS or PWS, if you haven&#039;t done so already. (If your web site is not set up as an "Application", then global.asa is never read by the server.) See .

Posting Permissions

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