Setcookie for multiple sub-domains ? - 07/26/2002 11:47 AM
Hi Every one ,
first of all I was confused where i can post this problem, and I determined it as a hack, and I need your hand on this problem with my scritps
I will explain what i need :
let assume that I am running my UBB.Threads script under this url :
http://ubb.mydomain.com
and i have a chat script that i created it specially for UBB .. and its under this url :
http://chat.mydomain.com
Now my question is :
how i can set the cookies to be readable to the both url's ?
I tried the all possible ways that i know but nothing work fine with me
Note :
when i used "/" it will work for all directoris under that domain ,, but it will not work under the sub-domains !!
Any one can help with this problem
Thanks in advance 4 help
Regards
BMH
first of all I was confused where i can post this problem, and I determined it as a hack, and I need your hand on this problem with my scritps
I will explain what i need :
let assume that I am running my UBB.Threads script under this url :
http://ubb.mydomain.com
and i have a chat script that i created it specially for UBB .. and its under this url :
http://chat.mydomain.com
Now my question is :
how i can set the cookies to be readable to the both url's ?
I tried the all possible ways that i know but nothing work fine with me
Note :
when i used "/" it will work for all directoris under that domain ,, but it will not work under the sub-domains !!
Any one can help with this problem
Thanks in advance 4 help
Regards
BMH