> 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
where the file that sets the cookie lives.
> the problem is when i goto directory 'test2' and use this
> same included file in the parent directory, it cant find the
> cookie.
>
> how should be setting this cookie??
I mainly set my cookies with a path of "/". Saves hassles, and the
cookie is accessible everywhere.
Jason
--
Jason Murray
[EMAIL PROTECTED]
Web Design Team, Melbourne IT
Fetch the comfy chair!
--
PHP General 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]