A
angus
Hi All,
I have a Session_End function in global.aspx, initially, i want to redirect
to the login page if the session has been timeout.
I have used the debugger->break on the session_end function, and i know that
this function will be execute once the session has been timeout. however,
the redirectation of the page of login.aspx is failed.
Why is it so? and how to achieve that?
Thank you
Sub Session_End(ByVal sender As Object, ByVal e As EventArgs)
' Fires when the session ends
Response.Redirect("login.aspx")
End Sub
I have a Session_End function in global.aspx, initially, i want to redirect
to the login page if the session has been timeout.
I have used the debugger->break on the session_end function, and i know that
this function will be execute once the session has been timeout. however,
the redirectation of the page of login.aspx is failed.
Why is it so? and how to achieve that?
Thank you
Sub Session_End(ByVal sender As Object, ByVal e As EventArgs)
' Fires when the session ends
Response.Redirect("login.aspx")
End Sub