Cookie-Problem ;)
| From: | Andreas Lange | Date: | Sat, 03 Feb 2001 14:08:04 +0000 |
| Subject: | Cookie-Problem ;) | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-5363@lists.php.net to get a copy of this message | ||
this is no general Problem with Cookies but a big mess:
i use cookies to store a session-id, so here is the Problem:
The InternetExplorer stores seperate Cookies for every directory on the
webserver, where cookies are used.
Is it possible to store only one cookie for the whole site, including all
subdirs?
i used the following line to set the cookie:
setcookie($name,$value,$expire,"/",".domain.de");
i also tried the simple version:
setcookie($name,$value,$expire);
nothing seems to work!
any suggestions?
CodeDuck