We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Posting request to Server is giving error from Firefox but work perfectly fine in Chrome

more options

Hi,

I am positing a request to my server and I am getting following message with popup having cancel and resend button -

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

When I click on resend button, Firefox display application page to re-submit the request. Again it display popup message with cancel and resend button. This continues for ever

The above mentioned behavior is not seen in chrome browser and it work perfectly fine in chrome. Firefox version is 94.0.2 (64-bit).

Thanks in advance for help.

Regards, Samir

Hi, I am positing a request to my server and I am getting following message with popup having cancel and resend button - To display this page, Firefox must send information that will repeat any action (such as a search or order confirmation) that was performed earlier. When I click on resend button, Firefox display application page to re-submit the request. Again it display popup message with cancel and resend button. This continues for ever The above mentioned behavior is not seen in chrome browser and it work perfectly fine in chrome. Firefox version is 94.0.2 (64-bit). Thanks in advance for help. Regards, Samir
Priloženi snimci ekrana

All Replies (1)

more options

Hi Samir, this occurs if a page generated by a POST request is reloaded.

What is the last action before this message occurs?

Here's one common issue: if you are using this pattern --

<a href="#" onclick="doSomething();">Click me</a>

-- you need to cancel navigation in your script to prevent Firefox from following the link. This is customary, assuming it still works:

<a href="#" onclick="doSomething(); return false;">Click me</a>