Home > DeveloperSection > Forums > On-Session-expire-event
Royce Roy
Royce Roy

Total Post:134

Points:938
Posted on    August-25-2014 2:07 AM

 ASP.Net ASP.Net 
Ratings:


 1 Reply(s)
 751  View(s)
Rate this:

I'm programming an MVC3 application. Now I hava to call a script if the users session expire.

Is there something like a event on-session-expire, that get fired when the user session expired?

Thanks a lot!



Sumit Kesarwani

Total Post:378

Points:2694
Posted on    August-25-2014 2:31 AM

Hi Royce, 

In your Global.asax you can create a

protected void Session_End(object sender, EventArgs e) { }

method which should be called when a session ends.


Don't want to miss updates? Please click the below button!

Follow MindStick