• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

history.back() and form value dissapear

 
Susilo Saja
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a html form which submit to the second page.
On the second page, there is a link history.back().
When I submit the first page , and click the history.back() link on the second page , the browser is back to the first page , the values of all the textfield on the form is blank , which I have filled before submission. But sometime it's still there. I am confuse why sometimes the value is blank and sometime it's not.
I need the values still there.
Fyi , I use ie6. And I set the "Check for newer version of stored page" setting to "Every visit to the page".
Susilo
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You always have a chance of loosing the information when you press the back button. Only way to know it will be there is to use cookies to store the information and fill in the form when the page is loaded....
Eric
 
Susilo Saja
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic