Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (11)
As of 2014-07-23 18:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (148 votes), past polls