M
MostlyH2O
Hi Folks,
I'm having a hard time getting my Session_OnEnd event to fire in my
global.asa.
Here's what I have:
<SCRIPT LANGUAGE=VBSCRIPT RUNAT=Server>
SUB Session_OnStart
Session.TimeOut = 30
END SUB
Sub Session_OnEnd
Response.Redirect("http://mydomain.com/mylogin.asp")
End Sub
</SCRIPT>
I made a simple page to call the session.abandon - to test the OnEnd event.
But it doesn't fire. I have set the session.timeout to 1 and also waited for
the default 20 to pass. I just can't get that redirect to occur when the
session ends.
I know the global.asa is set up properly, because the OnStart event WILL
fire if I move my redirect statement to the SUB Session_OnStart routine.
Thanks very much for any help.
Clear Skies,
Jack Coletti
I'm having a hard time getting my Session_OnEnd event to fire in my
global.asa.
Here's what I have:
<SCRIPT LANGUAGE=VBSCRIPT RUNAT=Server>
SUB Session_OnStart
Session.TimeOut = 30
END SUB
Sub Session_OnEnd
Response.Redirect("http://mydomain.com/mylogin.asp")
End Sub
</SCRIPT>
I made a simple page to call the session.abandon - to test the OnEnd event.
But it doesn't fire. I have set the session.timeout to 1 and also waited for
the default 20 to pass. I just can't get that redirect to occur when the
session ends.
I know the global.asa is set up properly, because the OnStart event WILL
fire if I move my redirect statement to the SUB Session_OnStart routine.
Thanks very much for any help.
Clear Skies,
Jack Coletti