Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Cookies without using CGI.pm

by eduardo (Curate)
on Jan 28, 2001 at 06:16 UTC ( [id://54815]=note: print w/replies, xml ) Need Help??


in reply to Cookies without using CGI.pm

Hi Monolith-0. I have a question, and a comment. If you are chosing to find out how it is that you create, retrieve, and delete cookies without using the amazing <a href="http://www.perlmonks.org/index.pl?node=CGI.pm&lastnode_id=3333">CGI.pm</a> for purely academic purposes, then, I applaud you. It is always good to understand the mechanisms at work, especially when they are as common and complex as cookies.

If you were to do a perldoc perlman:CGI::Cookie you would see that right at the 3rd paragraph it says:

For full information on cookies see

http://www.ics.uci.edu/pub/ietf/http/rfc2109.txt.

This link should give you everything you need about cookies.

However, here comes the angry old man in me. If you are asking how to do cookies in Perl without using CGI.pm because for some reason you have chosen to roll your own mechanism instead of using the well documented, standard, loved CGI.pm, then please, don't. On this site we have already discussed to death the reasons to use standard modules (a few of the reasons can be found: Yet Another Cargo Cult non-use of CGI.pm, Perfect example of why to use CGI.pm), and other places if you look hard.

Please, oh please, oh please... use the standard modules in a production setting...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://54815]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-19 18:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found