Internet Explorer alert on resending information

G

Guest

Hello All,

Can anyone let me know why do we generally see a message which says: "IE
needs to resend the info you've previously submitted. Retry Cancel"

How can I prevent IE from showing this message? I am using javascript code
i.e., window.location.reload(true) to reload an existing web form.

Thanks for any pointers!!
 
S

Steve C. Orr [MCSD, MVP, CSM, ASP Insider]

This happens when form data has been submitted. In order to truly refresh
the page, the form data must be resubmitted. Since this may be undesirable
in some cases, that message is displayed to give the user the opportunity to
abort.

So to avoid this message, don't resubmit the data. A line of JavaScript
similar this should refresh the page without reposting the data:
window.location = window.location;
 
G

Guest

Thanks Steve! It worked like a charm!

Steve C. Orr [MCSD said:
This happens when form data has been submitted. In order to truly refresh
the page, the form data must be resubmitted. Since this may be undesirable
in some cases, that message is displayed to give the user the opportunity to
abort.

So to avoid this message, don't resubmit the data. A line of JavaScript
similar this should refresh the page without reposting the data:
window.location = window.location;

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net


Diffident said:
Hello All,

Can anyone let me know why do we generally see a message which says: "IE
needs to resend the info you've previously submitted. Retry Cancel"

How can I prevent IE from showing this message? I am using javascript code
i.e., window.location.reload(true) to reload an existing web form.

Thanks for any pointers!!
 

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,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top