Re: Session problem
| From: | Matt Sturtz | Date: | Thu, 02 Jan 2003 00:59:20 +0000 |
| Subject: | Re: Session problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-129895@lists.php.net to get a copy of this message | ||
> My php.ini file session section looks like this
[snip]
> ; The path for which the cookie is valid.
> session.cookie_path = c:\tmp
On our system, this is /... This is not what you think it is-- this is
the WEB path the cookie is valid for... That is, on our system, the
browser will send the cookie for all pages under / (IE everything). If
you only want the cookie sent back for pages under, say,
/secure_directory, you would set this accordingly...
It could be PHP is sending the cookie, but your browser isn't sending it
back because your "view" page isn't in the right directory from the
browser's point of view...
Just a thought, hope it helps...
-Matt Sturtz-