i am confused.
i am setting a cookie with
setcookie("login",$user_name,0,"/"
that means the cookie is applicable from the root of my site.
if the directory structure is like
/home/httpd/html/site1/index.php of my site
now if there is some other domain on
/home/httpd/html/site2/index.php of site 2
and site 2 also sets the cookie with the same name ie login
can the two cookies clash?(the site2 specifies the domain while setting a cookie)
i mean if a user is logged in on one site can it go to the other without login even if the site is checking for cookie $login.
thanking you in advance..
spookie
i am setting a cookie with
setcookie("login",$user_name,0,"/"
that means the cookie is applicable from the root of my site.
if the directory structure is like
/home/httpd/html/site1/index.php of my site
now if there is some other domain on
/home/httpd/html/site2/index.php of site 2
and site 2 also sets the cookie with the same name ie login
can the two cookies clash?(the site2 specifies the domain while setting a cookie)
i mean if a user is logged in on one site can it go to the other without login even if the site is checking for cookie $login.
thanking you in advance..
spookie