Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: cookies, cgi::cookie, set by domain

by Eureka_sg (Monk)
on May 07, 2001 at 12:10 UTC ( [id://78453]=note: print w/replies, xml ) Need Help??


in reply to cookies, cgi::cookie, set by domain

You can only set a cookie for a domain that's under the current host,
ie. set cookie here :http://perlmonks.org to use at http://perlmonks.org/any/where/on/same/host
When you do not define the domain, the current domain is used as default thus the cookie can be set
So, if corn.com is not under the current domain, the answer is 'No, You can't set the cookie'.

This is obviously for privacy reasons : )

  • Comment on Re: cookies, cgi::cookie, set by domain

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-04-19 12:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found