Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
C#
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.Cache.SetExpires(DateTime.UtcNow.AddHours(-1));
Response.Cache.SetNoStore();


This code works only for IE browser.
After logout if we click on back button the page is not going to previous page
but in Mozilla firefox browser it is not working.

After logout if we click on back button the page going 1 page back
Posted
Updated 14-Nov-11 23:59pm
v3

 
Share this answer
 
Change your control's width from "%" to "Pixel"
then it will work in mozila
 
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