Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: annoying duplicate cookies

by nardo (Friar)
on Jun 24, 2001 at 21:57 UTC ( [id://91092]=note: print w/replies, xml ) Need Help??


in reply to annoying duplicate cookies

According to netscape's cookie specification When sending cookies to a server, all cookies with a more specific path mapping should be sent before cookies with less specific path mappings. For example, a cookie "name1=foo" with a path mapping of "/" should be sent after a cookie "name1=foo2" with a path mapping of "/bar" if they are both to be sent. So if you're getting more than one cookie with the same name, the first one is the one you should probably be paying attention to.

Update It's also possible that someone is having the cookie set at yourdomain.com and www.yourdomain.com which would cause it to be sent twice to www.yourdomain.com if you don't set the DOMAIN property of the cookie.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2024-04-26 06:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found