#1: How can I detect when a session expires, and then move the user to a page that shows the session has expired? I put the following code in the global.asax file:
Sub Session_End(ByVal sender As Object, ByVal e As EventArgs)
Server.Transfer("SessionExpired.aspx")
End Sub
But nothing ever happened. I haven't changed any default settings and I think I read that by default the session expires after twenty minutes.
#2: Kinda of related. Is it possible to close the browser? For example. I have a employee screen. If they click the logoff button I'd like to close the browser. Right now I send them back to the login in screen.
Thanks
Kirk