HTML - Form data kept with "Back" button


Hello group!
Here's my problem: a user fills a regular web form, submits it, sees the result, hits the Back button and all the form data are gone... Is there a way to force the browser to keep it? It occurs on IE (6), but not on Netscape or other browsers like Mozzilla or Konqueror (Linux).
This page is loaded from a CGI (which parses an existing html page and replaces stuff) and the very last solution would be to keep all form data on a submit, but even then, if the browser read the page from the cache, the CGI wont be recalled....

Anything I could put in the HTML code to do that?




- geek -
there is a way to do this in the CGI code if I remember correctly ... been a while since I have touched CGI though. :/


The problem with CGI is that it is not recalled when the browser loads the page from its cache... Also, as there's no such problem with other browsers, I would just hope there a simple (html) way to do it.
The simple answer is NO. if you want to do something like this you need to utilize cookies. The problem with cookies are that you are limited in size and number allowed. I suggest you build in a back button into your form and have it act as another submit button. A little bit of javascript will allow you to have multiple actions to the same form. This way, the user is encouraged to NOT use the browsers back button.

Members online

No members online now.

Latest profile posts

Perris Calderon wrote on Electronic Punk's profile.
Ep, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there
Electronic Punk wrote on Perris Calderon's profile.
All good still mate?
Hello, is there anybody in there? Just nod if you can hear me ...
What a long strange trip it's been. =)

Forum statistics

Latest member