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"?
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||