|Keep It Simple, Stupid|
Re: The cookie crumblesby joealba (Hermit)
|on Oct 24, 2001 at 16:29 UTC||Need Help??|
First: Change your -domain line to:
-domain => '.blahblah.com'
You need at least two periods in the domain line (to make sure you don't try to set a domain-wide cookie across a top level domain like .com or something).
Second: I prefer to use CGI::Cookie. I've never had a problem with it.
I'm not sure why parse returns an array of values for each cookie, but it does. Yes, I could have used map, but I haven't had my coffee yet this morning. :)
TOSS YOUR COOKIES
Redirect to a simple little script that runs this code. That should tell you how well your cookies worked.