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

  • 1 baphendule
  • 1 inale nkinga
  • 4 views
  • Igcine ukuphendulwa ngu jscher2000

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

Ama-screenshot ananyekiwe

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>

Helpful?

Buza umbuzo

Kufanele ulogele ukungena ku-akhawunti yakho ukuze uphendule amaphosti. Uyacelwauqale umbuzo omusha, uma ungekabi nayo i-akhawunti namanje.