The stupid question is the question not asked | |
PerlMonks |
Re: Unwanted CGI execution on Refreshingby MidLifeXis (Monsignor) |
on Nov 04, 2011 at 12:55 UTC ( [id://935923]=note: print w/replies, xml ) | Need Help?? |
The first response is right on the money. A URL is a handle to some asset accessible from your web site. When you want to modify it, you should be using POST, PUT, or DELETE. GET requests should not modify the asset. What I typically do is to use POST (when possible, I use PUT and DELETE in a REST methodology), and my response to the POST is a redirect to the GET for the object just modified. --MidLifeXis
In Section
Seekers of Perl Wisdom
|
|