Solved

Internet Explorer needs to resend the information.

Posted on 2011-03-20
13
3,031 Views
Last Modified: 2012-05-11
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>")
0
Comment
Question by:rohitnet100
  • 5
  • 5
  • 3
13 Comments
 
LVL 7

Expert Comment

by:Maverick_Cool
ID: 35176237
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 35176271
You need to change the form method from POST to GET
0
 

Author Comment

by:rohitnet100
ID: 35176292
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
 
LVL 7

Expert Comment

by:Maverick_Cool
ID: 35176325
try this:
you can use
window.location=window.location; to refresh the page
instead of
location.reload(true);
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 35176448
No. The reload(true) is reloading from server which is what is needed since otherwise it loads from cache.
0
 

Author Comment

by:rohitnet100
ID: 35176610
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 7

Accepted Solution

by:
Maverick_Cool earned 250 total points
ID: 35176645
YOU CAN GET PREVIOUS PAGE(IN THIS CASE SAME PAGE)VIEWSTATE OBJECT AND REAPPLY
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 35178477
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
 

Author Comment

by:rohitnet100
ID: 35180582
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
 
LVL 75

Assisted Solution

by:Michel Plungjan
Michel Plungjan earned 250 total points
ID: 35180713
The form your submit on your parent page is POST, I am pretty sure of that
0
 

Author Comment

by:rohitnet100
ID: 35193562
How can i make chage to my content page method as "GET".
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 35193593
No idea. I do not do asp :(
0
 

Author Closing Comment

by:rohitnet100
ID: 35226688
thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

948 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now