, , , - , - , , -, , - 20 ?
If you must use a session, one workflow is just to check
System.Web.HttpContext.Current.User.Identity.IsAuthenticated
anywhere, you are disturbed by an unclaimed user using the previously registered user session variables.
Talking about calling Session.Abandon () in the logout section, as @ScottS suggests, might be the easiest way, although this option might not be available in a hosted environment.
source
share