Re: Re: ending a session
| From: | Greg Donald | Date: | Sat, 20 Nov 2004 23:27:19 +0000 |
| Subject: | Re: Re: ending a session | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-202576@lists.php.net to get a copy of this message | ||
On Sat, 20 Nov 2004 13:52:32 -0800, Jed Smith <jed@jed.bz> 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/