ID: 13337
Updated by: hholzgra
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: Variables related
Operating System: any?
PHP Version: 4.0.6
New Comment:
what about adding a final slash to the pathname?
/test/ should not match /testme/
Previous Comments:
------------------------------------------------------------------------
[2001-09-17 05:18:53] [EMAIL PROTECTED]
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
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]