http://www.perlmonks.org?node_id=6388


in reply to Re: Recommended modules for handling cookies?
in thread Recommended modules for handling cookies?

I only see one carriage return after the HTTP header. Are you sure you've pasted/typed that in correctly? In your case, you should have the Content-Type header, then a carriage return (which you have), then the Set-Cookie header, then *two* carriage returns... I only see one in your code.

Again, though, I can't emphasize enough: use CGI::Cookie! Does Tripod not make that available? Is that why you're not using it?

Also, I've never heard of the "date" attribute in a Set-Cookie header... it's not in the specification. That's probably not the problem, since the cookie is getting placed in your cookies file correctly. But still.

So this cookie did show up in your cookies file? What's the domain listed as in the cookies file? Is it ".tripod.com"?