Groups | Blog | Home
all groups > asp.net > may 2005 >

asp.net : Disabling IE back button


Uhway
5/10/2005 10:48:26 PM
1. How can do disable IE back button when I am on certain pages?
2. When user clicks ob IE back button, how can I force them to return to the
same page? The reason I want to do is, after they click on the finish
button after navigating through four or five pages, I don't want an user to
revisit the data entry pages. At the same time can I reset those pages on
clicking finish button. But at the same time before clicking on the finish
button they should be able to go back and change the data.
3. Except for my first page all other pages are retaining data on
revisiting. I don't know why the first one is loosing the entered or
selected values? I removed all the code from page_load event --
!ispostback . But no use.

Thanks in Advance
BVR

Patrick Olurotimi Ige
5/11/2005 2:19:07 AM
Try reading through this article:-
http://www.4guysfromrolla.com/webtech/111500-1.shtml
Patrick



Uhway
5/11/2005 9:30:24 PM
Thank you for the link.


[quoted text, click to view]

dan.c.roth NO[at]SPAM gmail.com
5/12/2005 12:36:50 AM
Solution to the Back button problem for IE 5.5 and above.

1) Get rid of the cache

Response.CacheControl = "no-cache";
Response.AddHeader("Pragma", "no-cache");

2) set SmartNavigation = true

Daniel Roth
MCSD.NET

[quoted text, click to view]
AddThis Social Bookmark Button