Bug #13337 Updated: cookie issues

From: Date: Mon, 17 Sep 2001 09:36:01 +0000
Subject: Bug #13337 Updated: cookie issues
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-66098@lists.php.net to get a copy of this message
ID: 13337 Updated by: hholzgra Reported By: tr909@mac.com 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] 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

« previous php.dev (#66098) next »