Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

To display this page, Firefox must send information that will repeat any action (such as a search or order confirmation) that was performed earlier

Hey I am getting this confirmation by firefox.

To display this page, Firefox must send information that will repeat any action
(such as a search or order confirmation) that was performed earlier.

Anybody knows what is this confirmation for?

And how to get rid out of this?

like image 843
Ashwini Agarwal Avatar asked Mar 26 '12 12:03

Ashwini Agarwal


2 Answers

Try to change your request type from POST to GET.

If not possible to change the request type, For reloading the page, try using:

window.location=window.location;

Instead of

window.location.reload();

As suggested in answer to the question preventing firefox reload confirmation

Worked very well in Firefox, Chrome..

like image 55
Nitin Avatar answered Sep 22 '22 14:09

Nitin


This happens when you refresh a page that is the result of a POST request (as opposed to a GET request).

To avoid it, you can use the POST/redirect/GET pattern.

like image 34
AndreKR Avatar answered Sep 24 '22 14:09

AndreKR