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

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -