Re: cookies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Right, but in my example HTML line

<img nocache border=0 width=2 height=1
src=http://www.cookiedomain.com/cookies/cookies.php>

isnt it refering and setting cookie for  www.cookiedomain.com
even if this HTML file is on another domain?

Maris


"Richard Davey" <rich@xxxxxxxxxxxxxxxx> wrote in message
news:115163711265.20031204104351@xxxxxxxxxxxxxxxxxxx
> Hello Maris,
>
> Thursday, December 4, 2003, 10:40:33 AM, you wrote:
>
> MK> Could you share with your experience and point out where
> MK> is the problem here. I tried different variations for
> MK> domain parameter in setcookie command but it didnt help
>
> It's a security mechanism built into cookies. They cannot be
> cross-domain. They can cross sub-domains (i.e. *.launchcode.co.uk) but
> a cookie set for one domain cannot be read by another. Think of the
> anarchy that would happen if they could (being able to read and mess
> with say Hotmail cookies from your own site for example).
>
> -- 
> Best regards,
>  Richard                            mailto:rich@xxxxxxxxxxxxxxxx

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux