Fortunately, this isn't a limitation of the modules, or of Perl. This is the ways cookies are designed and implemented. You may wish to read RFC 2965, Unofficial cookie FAQ, or Netscape's brief cookie description.

What if you could retrieve cookies from another domain?
Imagine this scenario...

You visit some great bookstore, buy some books, allow them to save your credit card number for your many future visits. Then somebody on irc invitse you to check out his new webpage, www.some-kiddiots-webpage.com, so you do. A clever Perl script at this site pulls all your cookies from your browser, ignoring the fact that they aren't in its domain, and "uh ohhh", your bookstore session is one of those cookies. Next day.. you have a $30,000 bill from your credit card company...

oooops ;)

In reply to Re: Re: Re: Re: Reading Foriegn Cookies by count0
in thread Reading Foriegn Cookies by ppg

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.