note 70722 deleted from reserved.variables by felipe
| From: | felipe@php.net | Date: | Sun, 30 Dec 2007 18:26:42 +0000 |
| Subject: | note 70722 deleted from reserved.variables by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-134360@lists.php.net to get a copy of this message | ||
Note Submitter: Uili - e-info(at)tunenami.com
----
Andy Staudacher may have addressed this in his bug fix but just for clarifacation when reading a
cookie $_COOKIE reads only the most accurate domain including sub domain. If you have cookies for
.bar.com and foo.bar.com and the user is at foo.bar.com $_COOKIE only returns the cookie data from
foo.bar.com but if the user is at www.bar.com the data from .bar.com will be read if there is no
cookie for www.bar.com.