Im implementing a minor function that SHOULD be no problem at all. However, I cant get it to work.
Currently, when a users session times out, they get redirected to our login screen. However, I want to add an alert box that tells the user why they were logged out. I want to place the code for this in the code behind, in the same function that checks the session. Currently, the code looks like this:
Protected Overrides Sub OnLoad(ByVal e As EventArgs)
If SessionManager.User Is Nothing Then
The alert code for the alert works, but when I let my session time out, no alert shows, I just get redirected.
Im considering just redirecting to an error page, but I want to cut down the loading time as much as possible, thus I'd prefer to fire the alert as it redirects to login.
View Complete Post