Replacing/avoiding page-reload prompts from POST method?

J

John Geddes

If a user tries a Refresh/Reload on a page that has been called as the
result of submitting a Form with the POST method, IE and Firefox both
throw up warning messages that are pretty confusing to the non-technical
user:

IE: "The page cannot be refreshed without resending the information ...."

Firefox: "The page you are trying to view contains POSTDATA ..."

I know that it can be avoided by using GET instead, but I really don't
want to do that.

Does anyone know a way of trapping these events in Javascript so that I
can write my own warning message (or even block the Refresh/Reload
altogether)?

John Geddes
England
 

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
473,951
Messages
2,570,113
Members
46,699
Latest member
Abigail89S

Latest Threads

Top