Bug #13337: cookie issues
| From: | tr909 at mac dot com | Date: | Mon, 17 Sep 2001 09:18:53 +0000 |
| Subject: | Bug #13337: cookie issues | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-66095@lists.php.net to get a copy of this message | ||
From: tr909@mac.com
Operating system: any?
PHP version: 4.0.6
PHP Bug Type: Variables related
Bug description: cookie issues
Regarding the Set_cookie() function and cookie behaviour.
if you specify a path, the cookie vars are only available
in those directories! And strange enough partial path
strings DO match:
cookie in "/test" is also available in "/test2" and
"/testbed". But cookies set in "/testbed" are not available
in "/test" etc. i.e. a partial path string DOES match !!
(not good)
Furthermore, i see in explorer(mac) that for all subdirs a
'accept cookies for www.domain.com' is set.
This IS a problem if you work on several projects in
subdirs that use the same cookie var names, for instance
used in a common AUTH-LIB. And if you use different var
names, you can only work on 20 projects (max cookies per
domain)
tr909
--
Edit bug report at: http://bugs.php.net/?id=13337&edit=1