Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: How to prevent a Reload from resubmitting a form?

by Ralesk (Pilgrim)
on Jul 08, 2013 at 11:20 UTC ( #1043085=note: print w/replies, xml ) Need Help??


in reply to How to prevent a Reload from resubmitting a form?

By, rather than rendering an entire page as a response to the POST request, redirecting the user to another page where they can for example see the result of their query.

This way, the page they end up opening will be served by a GET request, which can be freely reloaded any time.


It is worth mentioning that you have resubmitted this question several times because of this very issue and PerlMonks serving entire pages as results of POST requests.

  • Comment on Re: How to prevent a Reload from resubmitting a form?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1043085]
help
Chatterbox?
[erix]: interesting...
erix especially likes the "alot is not a word" muttering

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2017-06-24 07:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (557 votes). Check out past polls.