buranfb
July 10th, 2003, 04:19 AM
Dear ASP.NET Programmers,
I am using forms authentication in my web application. I would like the users to be transferred to the login page when the session expires. I am using session state, but the following code in global.asax file does not work:
Sub Session_End(ByVal sender As Object, ByVal e As EventArgs)
FormsAuthentication.SignOut()
Response.Redirect("login.aspx")
End Sub
How can I solve this problem or work around it?
buranfb
I am using forms authentication in my web application. I would like the users to be transferred to the login page when the session expires. I am using session state, but the following code in global.asax file does not work:
Sub Session_End(ByVal sender As Object, ByVal e As EventArgs)
FormsAuthentication.SignOut()
Response.Redirect("login.aspx")
End Sub
How can I solve this problem or work around it?
buranfb