Hitting "Back" loses all GET/POST data....

G

Greg Alaksdjflk

How do I create a form that allows one to submit a form, then press
the
"BACK" button on the browser, and allow the user to see the data he
posted?
It seems as though this information is lost. For instance,

<form method="get" action="/contact/default.asp" name="ContactForm">
....
</form>

for instance, leaving a feedback at

http://www.baltimoresun.com/about/bal-feedback.htmlstory

and pressing the back button on the browser wipes out all feedback
fields I just entered...help!

thanks
 
R

Ray at

Do you have any anti-caching code in your page? I believe that most
browsers will show you what you entered if they aren't forced to pull a
fresh page on every visit.

Ray at work
 
P

Phillip Windell

The browser normally *does* retain all that. People usually are asking how
to make it stop doing it. You have to go out of you way to make it behave as
it is now.
 
A

Amit Shinde

if the previous page u requested is "default.asp" using Back (<input
type=submit value=back>) then it is certainly going to wipe out the
contents. bcaoz that page is reloaded
Amit shinde
 

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

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top