Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: Cookie Reading Problem

by rnewsham (Curate)
on Jun 27, 2013 at 15:50 UTC ( [id://1041040]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Cookie Reading Problem
in thread Cookie Reading Problem

Below is an extract from the documentation for CGI which should clear things up. See the full documentation at HTTP COOKIES for full details.

" a domain This is a partial or complete domain name for which the cookie is valid. The browser will return the cookie to any host that matches the partial domain name. For example, if you specify a domain name of ".capricorn.com", then the browser will return the cookie to Web servers running on any of the machines "www.capricorn.com", "www2.capricorn.com", "feckless.capricorn.com", etc. Domain names must contain at least two periods to prevent attempts to match on top level domains like ".edu". If no domain is specified, then the browser will only return the cookie to servers on the host the cookie originated from."

Replies are listed 'Best First'.
Re^4: Cookie Reading Problem
by Mr. Newb (Acolyte) on Jun 27, 2013 at 22:11 UTC
    Yes, that was the problem - the cookie was set at www.mysite.com, and I was trying to read it at mysite.com. Thanks so much!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2024-04-19 08:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found