PDA

View Full Version : Session_OnEnd



joecool2005
07-31-2006, 03:59 PM
Hi,

On my ASP file I put
<%Session.Timeout=1%>

On my global.asa I put
Sub Session_OnEnd
Response.Redirect("hello.htm")
End Sub

When the time is up, it did not redirect me. Why?

Thx
Joe

codeexploiter
08-02-2006, 11:31 AM
Hi

The Session_OnEnd event occurs when a session is abandoned or times out. Of the server built-in objects, only the Application, Server, and Session objects are available.

Hope this will solve this problem

Regards

codeexploiter