Re: [PHP] Session problem

2003-01-01 Thread Matt Sturtz

> 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-



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] NFS session file issue?

2003-01-01 Thread Matt Sturtz
Hello--

We run several web servers (PHP 4.2.2, Apache 1.3.27 on RedHat 6.2/i386)
behind a load balancer...  All the servers have their session.save_path
set to an NFS-mounted directory.

It seems that session files are removed by the GC 1 hour
(session.gc_maxlifetime = 3600) after being created, instead of one hour
after being updated, even though they're being changed on every click... 
I can't explain why, but the problem goes away if I touch the session file
every 60 seconds.

Is there a known issue with using NFS for session files?

Thanks,

-Matt Sturtz-



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php