When is the global.asa file used?
If I Put a response.write and then a response.end in the Session_Onend procedure it never gets executed!
But it does work in the session_onstart??????
Printable View
When is the global.asa file used?
If I Put a response.write and then a response.end in the Session_Onend procedure it never gets executed!
But it does work in the session_onstart??????
Session_OnStart - A user starts to access your website.
Session_OnEnd - A user exits your website.
Useful for updating counters and the like.
Global.ASA cannot output any HTML/Text.
Wrong. It fires when a session ends. Which the wy IIS works is not until the Session times out NOT when the user leaves the site unless you specifically call the code Sesion.Abandon when the leave.Quote:
Session_OnEnd - A user exits your website.
Really? I was under a false impression :(
Have you noticed also that the avatars have disappeared?
HEY WHERES MY AVATAR???? Hurumph..
If you read the forum feedback you'll see why they're not there.
You can set the time it takes for the session to time out if you want. I think the default is about 20 minutes or so.