Wednesday, 14 August 2013

WebSecurity Login only for the lifetime of the browser window

WebSecurity Login only for the lifetime of the browser window

I am using SimpleMemberships in ASP.NET to handle users logging in and
out, I was wondering if anyone knew how to set it so that their login
session expires on browser close.
I set the persistCookie as false but it still keeps them logged in even
after closing the browser.

No comments:

Post a Comment