Monday, 12 August 2013

Automatically sign out from Forms Authentication in ASP.NET when browser is closed

Automatically sign out from Forms Authentication in ASP.NET when browser
is closed

Is there a way to force ASP.NET to sign out from it's authentication when
the browser is closed or the user types in a new address?
If the browser is left open then I need to keep the user authenticated, so
a long timeout on the authentication ticket is preferable.

No comments:

Post a Comment