Click here to Skip to main content
15,889,281 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi..
I am developing a web application using ASP.NET. But I am getting the following message:
To display this page, Firefox must send information that will repeat any action (such as a search or order confirmation) that was performed earlier.


How to avoid this message??
Posted
Comments
Dylan Morley 29-Jun-10 6:37am    
quoted text "It means that the previous page you're trying to go back was technically a request for the website to do something. Could be like posting on a forum or ordering a product in a store. That's why you're asked for the confirmation about resending, to make sure you won't end up in unwanted situations. You know if you were browsing some random website of no importance, go ahead resend or if you're in middle of some business transaction, you probably don't want to resend. So it's important you're given the choice."

So, your code is causing a refetch or repost of some sort.

As Dylan has said:
Quoted text: "It means that the previous page you're trying to go back was technically a request for the website to do something. Could be like posting on a forum or ordering a product in a store. That's why you're asked for the confirmation about resending, to make sure you won't end up in unwanted situations. You know if you were browsing some random website of no importance, go ahead resend or if you're in middle of some business transaction, you probably don't want to resend. So it's important you're given the choice."
So, your code is causing a refetch or repost of some sort.


You need to check your code. DEBUG it and see it. Resolve it as per you need.
 
Share this answer
 
Comments
Devang Vaja 26-Mar-13 0:25am    
http://forums.mozillazine.org/viewtopic.php?f=38&t=1034795
Hi Akansha,
Use
Responce.Redirect("yourPagename.aspx",False);
This will resolve your issue.
It's responce in boolean.

And also remove all Server.Transfer("pagename.aspx") if not required.
 
Share this answer
 
Hi Akansha,
You can use Post / Redirect/ Get Pattern in order to prevent this message.
That means after each "Post" statement, you must redirect to another page.
Or you can redirect to same page by using Response.Redirect(" PageName.aspx " , false );
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900