Re: Re: ending a session
| From: | Jeffery Fernandez | Date: | Sat, 20 Nov 2004 23:34:35 +0000 |
| Subject: | Re: Re: ending a session | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-202577@lists.php.net to get a copy of this message | ||
Greg Donald wrote:
On Sat, 20 Nov 2004 13:52:32 -0800, Jed Smith <jed@jed.bz> wrote:cheers, JefferyPHP 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 portsThe 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 Nice tutorial here: http://www.zend.com/zend/spotlight/code-gallery-wade8.php?article=code-gallery-wade8&id=4467&open=1&anc=0&view=1