Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: CGI question

by Chuma (Acolyte)
on Feb 16, 2010 at 09:53 UTC ( #823448=note: print w/replies, xml ) Need Help??


in reply to Re: CGI question
in thread CGI question

Oh right, I forgot to mention that. I could use a "get" instead, but that's inconvenient for other reasons. The user might input completely different values of x and y and mess things up. So I think it has to be "post".

Replies are listed 'Best First'.
Re^3: CGI question
by Corion (Pope) on Feb 16, 2010 at 10:09 UTC

    The user can also put in completely different values for X and Y in a POST request. If you want real security, either fetch the results on behalf of the user yourself, and output them to the user (using LWP::UserAgent), or store the data in a session and pick up the data in the target from that session.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://823448]
help
Chatterbox?
Ratazong takes a cookie from the platter on the sideboard.
Ratazong adds shortbread cookies to the platter on the sideboard.
[Lady_Aleena]: Hi Ratazong.
[Ratazong]: Hi Lady Aleena
Ratazong just learned about free cookies ;-)
shmem rolls a barrel of beer into the refectorium at the request of jedikaiti

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2017-04-26 09:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (471 votes). Check out past polls.