Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Cookies without CGI.pm

by spartacus9 (Beadle)
on Sep 25, 2002 at 14:34 UTC ( #200634=note: print w/replies, xml ) Need Help??


in reply to Cookies without CGI.pm

Here is basically what the print statements would need to look like if you're going to do it yourself;
Set-Cookie: cookie_name=cookie_value; expires=Wed, 11-Dec-2002 00:00:00 GMT; path=/; domain=abc.com;
Use whatever means you want, but the end result will have to produce the above block, obviously substituting the cookie_name, cookie_value and other variables with your data. The RFC mentioned in the first reply is a good idea to read and I wholeheartedly agree -- if possible, use CGI.pm to accomplish this. It does all the work for you and it's harder to screw it up if you're using the module.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://200634]
help
Chatterbox?
[ambrus]: Corion: does building airports "somewhat outside of" a city ever work? cities always grow around the airport quickly, because it's practical to be close to it, and after that, people start to complain that the airplanes land so close to their house and sh
[ambrus]: ould keep down the noise

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (9)
As of 2017-02-23 12:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (346 votes). Check out past polls.