On-Session-expire-event?

后端 未结 1 481
走了就别回头了
走了就别回头了 2021-01-11 22:57

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 whe

相关标签:
1条回答
  • 2021-01-11 23:24

    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.

    0 讨论(0)
提交回复
热议问题