Click here to Skip to main content
15,896,503 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to create log out page after logout people did not get back privious page in asp.net
i use this on page load in logout page

C#
Response.Cache.SetCacheability(HttpCacheability.NoCache);
        Response.Cache.SetExpires(DateTime.Now.AddSeconds(-1));
        Response.Cache.SetNoStore();
Posted

1 solution

 
Share this answer
 

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

  Print Answers RSS


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