About Setcookie function
| From: | AlNadabi Network | Date: | Thu, 25 Jul 2002 13:27:12 +0000 |
| Subject: | About Setcookie function | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-109691@lists.php.net to get a copy of this message | ||
Hi There
I am having small probem in how to set the cookies to all my sub-domains ??
I tried the all possible choises I know :
"/" & ".mydomain.net" & ".mydomain.net."
but no one it work with me :( ...
and I want to make it clear :
if u set the cookies path to "/" with the following urls :
http://www.mydomain.net/chat/ (it will work fine )
http://chat.mydomain.net/ (it will not work !! )
and
http://www.mydomain.net/login/ (it will work fine )
http://login.mydomain.net/ (it will not work !! )
So , how to set the cookies for the all domains in my host ?? not the directories ??
Best Regards
AlNadabi
==============================
AlNadabi Network
http://www.alnadabi.net