In my website whenever user clicks on back button of browser it works. I want to stop this functionality. For that have already used two three processes. but no one is working !!!!!!!
1. First Process :
In the Page_Init event I wrote the following:
2. Second Process :
In the Page_load event I wrote the following :
3. Third Process :
In the page_Load event I wrote the following:
Response.Buffer = true;
Response.Expires = 0;
Response.ExpiresAbsolute = DateTime.Now.AddDays( -1 );
Response.CacheControl = "no-cache";
4. I have tried with Javascriot also. it is working fine. But if some user's Browser is Javascriot disabled then following code cannot work.
What should I do ?????