"be consistent" | |
PerlMonks |
Re: Having a cookie domainby arthas (Hermit) |
on Jun 04, 2003 at 11:32 UTC ( [id://262952]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|