Click here to Skip to main content
15,885,767 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I used form authentication mechanism to authenticate user with web.config content as below-
<authentication mode="Forms">
<forms loginUrl="login.aspx" timeout="30"></forms>
</authentication>
<authorization>
<deny users="?"/>
</authorization>>

when i logout the user is directed back to login page but when i press the back button the previous page is showing.How should i prevent this?
Posted
Updated 17-Feb-10 22:53pm
v2

1 solution

Turn off caching on all pages. Here[^] - found it with google.
 
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