Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 all is calm...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2017-08-23 01:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (344 votes). Check out past polls.

    Notices?