• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Global.asa

Juniper

Platinum Member
Hey guys,

I have an asp application, and I would like to use global.asa to store the login session. Not sure how I can do it, I've never used global.asa before. I'm on Windows NT 4.0. Do I have to set something in IIS firsthand?

How does IIS know where to look for global.asa?

Thanks...
 
Been a while since I messed with the global asa, but I'll just shoot from the hip a little.

First----your global asa used depends on how you set up the website w/i IIS.

2nd.....if you go under properties for your website in IIS, there's a setting for application settings....and if I remember right that's where the global.asa stuff is set.

And----in the event that you process host headers on a IIS Server (ie, more then one domain on one IP Address)....it is possible to have more then one global.asa---AFAIR global.asa is set per site/virtual site in IIS.

Hope this helps....sorry if any of it's wrong, ti's all from memory.
 
something to get you started...

<Script LANGUAGE = VBScript RUNAT = Server>
Sub Session_OnStart
Response.Expires = 0 ' Ensure that this page is not cached
Server.ScriptTimeout = 15 ' Stop server processing after 15 seconds
Session.Timeout = 60 ' End session after 60 minute
End Sub

Sub Session_OnEnd
'put stuff here that you want executed when their session ends
End Sub
</Script>
 
Back
Top