Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Perl Monk, Perl Meditation
 
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 examining the Monastery: (7)
As of 2014-04-17 04:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (439 votes), past polls