Anoying Message

A

Andrew J

I have a site created with asp.net & viewing through IE
6.0.2 browsers. My javascript code submits a form of one
of the pages and after that everytime you do a refresh or
submit you get the message "The page cannot be refreshed
without resending the information. Click Retry to send the
information again, or click Cancel to return to the page
that you were trying to view." The only way to stop it is
to close the browser & re-open. Is there any way to stop
this?


Thanks in advance.
 
H

Hermit Dave

when you load a page using the <form> it passes some querystring and/or form
values as a part of the request.
now when you click refresh... the browser asks you if you want to re-submit
the data (post) that (cause the page to load) as it is right now
This is a browser behaviour. the only other way would be to not use form to
post the data rather use a query string based redirection.

HTH
 

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

Top