Session Timeout Redirect

nhill

New Member
I am trying to figure out how to redirect a user to a default 'session timed out' page when session times out.<BR>I have added the following in the global.asax file :<BR><BR> Sub Session_End(ByVal sender As Object, ByVal e As EventArgs)<BR> Response.Redirect("sessionstate.asp")<BR> End Sub<BR><BR>Nothing happens when session times out, screen comes up with errors--my pages trying to use session variables that have expired.<BR><BR>Is there a way to redirect user automatically to this page when session ends? I thought the session_end event would be called.<BR><BR>Anyone know what I am missing?<BR><BR>Thanks in advance.<BR>Angelica.
 
Back
Top