Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Having a cookie domain

by arthas (Hermit)
on Jun 04, 2003 at 11:32 UTC ( [id://262952]=note: print w/replies, xml ) Need Help??


in reply to Having a cookie domain

For security reasons, most web browsers only accept cookies coming from the domain you are browsing, and only return them to that domain.

So, if the user is browsing www.mynewwebsite.com, you should set the cookie domain as .mynewwebsite.com, and you'll only be able to retrieve that on the server side if the user is browing that domain.

Hope this info can be of some help to you!

Michele.

Log In?
Username:
Password:

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

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

    No recent polls found