Click here to Skip to main content
15,903,385 members
Please Sign up or sign in to vote.
3.67/5 (3 votes)
See more:
When I Logout from the page and click forword button of the browser I get the page.
How can I remove it?
Posted
Comments
[no name] 30-Nov-11 8:20am    
How are you handling the Logout? Are you clearing he Session?
Pandya Anil 30-Nov-11 9:05am    
follow the link answer is here.. http://www.codeproject.com/KB/aspnet/NoCaching.aspx
Prince Antony G 1-Dec-11 5:57am    
the Question is repeating

 
Share this answer
 
v4
Comments
RaviRanjanKr 1-Dec-11 12:23pm    
Always convert url to hyperlink. it gives better readability and accessibility to other users.
add this line


C#
if (Session["authkey"] == null)
                            Response.Redirect("administrator.aspx?uid=" + username);
 
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