hey there tradez....

i've done a fair bit of stuff with cookies, and certainly the CGI::Cookie module can (will!) make your life a lot easier.

the only real bit of wisdom i've got for you is to be careful with the *order* in which you set cookies, as related to the rest of the http_header. The WebTV browser is particularly finicky, once when i had to insert some extra cookies 'manually' (the module was automatically escaping some of the characters, and we didn't want that) all of the folks with WebTV browsers were shut out.

Unforutnately, the "emulator" supplied by WebTV did NOT handle/parse the cookies in the same way that the real client did, and so did not reveal this problem.

i'm sure there are plenty of other funky clients out there to make things fun, but that's the one that's given me the most trouble in relation to cookies.

have fun!


In reply to Re: Web Cookies via Perl by u914
in thread Web Cookies via Perl by tradez

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.