home / software / tips and tricks / How can I clear all session, cookies and authentication on a ASP.Net web site?

How can I clear all session, cookies and authentication on a ASP.Net web site?

Updated:  03/30/2016 05:03 AM
Author:  Shiju Mathews

Status:    Resolved.


Recently in one of the project that I am responsible for maintaining, reported an issue that when users are login from public computer they can see other users information. This site is developed by contractors and the full source code is not available.
So I decided to clear all state variables when someone is trying to login as follows and it worked.


Tags: How can I clear all session cookies and authentication on a ASP.Net web site?
Updated on: December 2024