pressing back button resets page state. how to prevent?

J

Joris Gillis

Hi everyone,

I am experiencing some serious troubles with a web form application I'm developing.

I have a html document, the DOM tree of which I change consecutively with javascript (e.g. the result of an XSLT is inserted).
When the user submits the form on the page, he's redirected to a confirmation page. But when the user hits the back button, the whole state of the HTML DOM tree in the browser's memory has been reset, making it impossible to fill in series of forms in a fast way. How can the last state be recalled?

Ideally, the confirmation page redirect should be prevented (it is sent by a form.cgi script to which I seem to be bound.) so that that the memory state is not lost in the first place.

The solution should work in (at least) firefox and IE.

How can I solve this dilemma? Any clues?

Eternal gratitude would be your reward...
 

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,434
Messages
2,571,689
Members
48,796
Latest member
Greg L.

Latest Threads

Top