asp.net mvc - In MVC web application, how to handle session, when browser or tab is closed without logout -


I am working on the MVC web application in which I want to handle the session if we are closing the tab or shutting down Browser should be logged out, if the user remembers the password then only the login for the next login should be

< P> The only stable way to use Session_End in Global.asax is.

Secure zero session_ind (object sender, eventAgps E) {System.Diagnostics.Debug.WriteLine ("session_and"); FormsAuthentication.SignOut (); }

This is an event handler that is terminated when the user completes the session.


Comments

Popular posts from this blog

Member with no value in F# -

java - Joda Time Interval Not returning what I expect -

c# - Showing a SelectedItem's Property -