RE: [PHP] cookie paths are really confusing me...please help!

2001-01-21 Thread Jason Murray
> scenario: im browsing a file in lets call directory 'test'. > this file is including a file in the parent directory. this included > file is setting a cookie. The point here is that the file is being *included*, therefore the cookie will only be local to that "test" directory, regardless of w

[PHP] cookie paths are really confusing me...please help!

2001-01-21 Thread Noah Spitzer-Williams
ok here's what i get from php.net: SetCookie()'s behavior is dependant on where it is called within the web document tree. For example, setting a cookie from a php script in a directory makes that cookie available only to other scripts in that directory and its subdirectories. However, setting a