There's more than one way to do things | |
PerlMonks |
Re: Cookies without using CGI.pmby eduardo (Curate) |
on Jan 28, 2001 at 06:16 UTC ( [id://54815]=note: print w/replies, xml ) | Need Help?? |
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...
In Section
Seekers of Perl Wisdom
|
|