Re: Re: ending a session

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 20 Nov 2004 13:52:32 -0800, Jed Smith <jed@xxxxxx> wrote:
> PHP attached to different Apaches can't share sessions, AFAIK. You'll
> need to make sure it's the same copy of Apache, listening on both ports

The simplest solution is to use database managed PHP sessions, passing
the session id in the url.  As long as you connect to the same
database, your PHP session will follow you wherever your scripts live.

Someone probably has something better, but here's mine:
http://destiney.com/pub/php_db_sessions.tar.gz


-- 
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux