Bug #13337 Updated: cookie issues
| From: | sander@php.net | Date: | Mon, 08 Oct 2001 13:09:03 +0000 |
| Subject: | Bug #13337 Updated: cookie issues | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-67541@lists.php.net to get a copy of this message | ||
ID: 13337
Updated by: sander
Reported By: tr909@mac.com
Old Status: Feedback
Status: Closed
Bug Type: Variables related
Operating System: any?
PHP Version: 4.0.6
New Comment:
No feedback. Unlikely to be a bug in PHP. Closing.
Previous Comments:
------------------------------------------------------------------------
[2001-09-17 05:36:01] hholzgra@php.net
what about adding a final slash to the pathname?
/test/ should not match /testme/
------------------------------------------------------------------------
[2001-09-17 05:18:53] tr909@mac.com
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 this bug report at http://bugs.php.net/?id=13337&edit=1