Re: Re: ending a session

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

 



Greg Donald wrote:

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




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

cheers,
Jeffery

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