搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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
已附加屏幕截图

所有回复 (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>