Back Button Dramas

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

I'm relatively new to .NET, and I have an irritating issue, which I
hope it is possible to solve.

I have a site that has lots of user controls, which are made
visible/invisible based on a menu. Effectively, this has built a
wizard. However, when the user presses the "Back" button, I get the
page Expired error error, and the user must click refresh. I've had a
few hunts around for a solution, but so far it's eluded me.

Is it possible to somehow solve the problem with a setting that I have
missed?

I had considered that a solution to my problem could be to somehow
force my window to appear without a back button (like some popup ads
do) but I can't see how to do this.

If anybody can point me to something that will help, I'd much
appreciate it.
 
This occurs because of the behavior of browsers with regards to HTML forms.
When an HTML document is returned to the browser as a response to a form
post, the only way for the browser to refresh the page is to re-post the
form.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
Kevin Spencer said:
This occurs because of the behavior of browsers with regards to HTML forms.
When an HTML document is returned to the browser as a response to a form
post, the only way for the browser to refresh the page is to re-post the
form.

Thanks Kevin - I figured as much. Do you know a way to force the page
to load in a browser window without a "back" (or any menu buttons)?
That way, may link-based navigation can take care of it.

Mike
 
Back
Top