Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 cooling their heels in the Monastery: (14)
As of 2014-09-22 20:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (200 votes), past polls