I got the same response from a few people in comp.lang.perl.misc, and putting print $co->header(); before the real header enables you to see what's actually being sent to the client.

I was using IE, and for some reason it chooses not to have anything to do with any cookies with an expiration of shorter than 2 hours. Go figure. So anyway, my code above works fine if you set -expires=>'+2h'... under IE, and apparently it all works fine under NS anyway. Damn microsoft, causing me another days hassle.

Anyway, a big blessing to all you monks who tried to help out, but at least we can say it's not our fault, it was Bill.


In reply to RE: RE: RE: Re: Cookie Failure by Merlin83
in thread Cookie Failure by Merlin83

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • 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:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, 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, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.