Click here to Skip to main content
15,888,026 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
Login Purpose I used Session ID and Passes to Next pages show all the details regarding session ID and Open sub links of page when i logout in on of those pages I logout But when i log in again another ID some tab of pages shows previous session Id and some pages shows New Id. How i resolved this issue????????
Posted

 
Share this answer
 
In the logout button click use following code

C#
Session.RemoveAll();
Session.Abandon();
Response.Redirect("Login.aspx");


Thanks
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900