ON-SESSION-EXPIRE-EVENT

Royce Roy

Total Post:149

Points:1043
Posted by  Royce Roy
 989  View(s)
Ratings:
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!

  1. Sumit Kesarwani

    Post:378

    Points:2694
    Re: On-Session-expire-event

    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.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!