Back Button Dramas

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.
 
K

Kevin Spencer

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.
 
M

Mike

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top