Internet Explorer needs to resend the information.

How can I stop Internet Explorer to stop asking :
"To display the webpage again, Internet Explorer needs to resend the information you've previously submitted. If you were making a purchase, you should click Cancel to avoid a duplicate transaction. Otherwise, click retry to display the webpage again."

I am using below code to refresh my page from a popup window:
 Collapse
Page.ClientScript.RegisterStartupScript(GetType(Page), "close", "<script language="'javascript'" type='text/javascript'>" & _
                                                                        "window.close(); if (window.opener && !window.opener.closed) {" & _
                                                                       "window.opener.location.reload(true); } </script>")
rohitnet100Asked:
Who is Participating?
 
Maverick_CoolConnect With a Mentor Commented:
YOU CAN GET PREVIOUS PAGE(IN THIS CASE SAME PAGE)VIEWSTATE OBJECT AND REAPPLY
0
 
Maverick_CoolCommented:
0
 
Michel PlungjanIT ExpertCommented:
You need to change the form method from POST to GET
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
rohitnet100Author Commented:
I have already checked this link, but  my problem wasn't solved from solutions given there.
Let me know, if any other solutions you have, except those mentioned in this link which you send.
0
 
Maverick_CoolCommented:
try this:
you can use
window.location=window.location; to refresh the page
instead of
location.reload(true);
0
 
Michel PlungjanIT ExpertCommented:
No. The reload(true) is reloading from server which is what is needed since otherwise it loads from cache.
0
 
rohitnet100Author Commented:
I am already using Get method.
also, i tried window.location=window.location, it wasn't display IE message, but, i lost my current data of webpage.
0
 
Michel PlungjanIT ExpertCommented:
The message only comes if the form action on the parent page was HTTP POST so please have another look at how you communicate with the server in the opener page

Here is a suggestion to use a redirect after the form submission

http://forums.asp.net/t/1461810.aspx/1
0
 
rohitnet100Author Commented:
My parent page is Content page. Master page method is "Get".
PopUp window page mehod is also "Get".

Still i have no solution to avoid IE message.
0
 
Michel PlungjanConnect With a Mentor IT ExpertCommented:
The form your submit on your parent page is POST, I am pretty sure of that
0
 
rohitnet100Author Commented:
How can i make chage to my content page method as "GET".
0
 
Michel PlungjanIT ExpertCommented:
No idea. I do not do asp :(
0
 
rohitnet100Author Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.