Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Cookie transactions

by BorgCopyeditor (Friar)
on Aug 03, 2002 at 05:42 UTC ( [id://187303]=note: print w/replies, xml ) Need Help??

in reply to Cookies problem

CGI is, of course, good and all, but sometimes it's nice to know what's going on "under the hood." This can be useful to know if you're in the testing phase and want to be sure your cookie's being read or sent.

When a page sets a cookie on a browser, all it's doing (usually) is adding this line to its headers:

Set-Cookie: name=value; expires=(date)

plus any path you specify. When a cookie-enabled browser requests another page from the domain (or path in that domain specified by the cookie), it adds its own Cookie: header to its request. This is available as $ENV{HTTP_COOKIE}.

--Your punctuation skills are insufficient!

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://187303]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-05-27 15:36 GMT
Find Nodes?
    Voting Booth?

    No recent polls found