S
Stephen Noronha
Hi,
I am creating a test applicaiton with 3 pages say login.aspx test1.aspx and
test2.aspx.
I added this to my global.asax file
Sub Session_End(ByVal sender As Object, ByVal e As EventArgs)
' Fires when the session ends
Session.Timeout = 1
Response.redirect("Login.aspx")
End Sub
question:
1. do I have to change the timeout value in web.config file also?
2. I browsed to test2.aspx and then waited for session to time out, but the
page was not redirected to "Login.aspx"...... why?
i even had a break point, it fired but did nothing.
Please advice,
Stephen
I am creating a test applicaiton with 3 pages say login.aspx test1.aspx and
test2.aspx.
I added this to my global.asax file
Sub Session_End(ByVal sender As Object, ByVal e As EventArgs)
' Fires when the session ends
Session.Timeout = 1
Response.redirect("Login.aspx")
End Sub
question:
1. do I have to change the timeout value in web.config file also?
2. I browsed to test2.aspx and then waited for session to time out, but the
page was not redirected to "Login.aspx"...... why?
i even had a break point, it fired but did nothing.
Please advice,
Stephen