Re: Re: ending a session

From: Date: Sun, 21 Nov 2004 01:21:55 +0000
Subject: Re: Re: ending a session
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-202581@lists.php.net to get a copy of this message
Thanks! "Jeffery Fernandez" <forums@jefferyfernandez.id.au> schreef in bericht news:419FD48B.7020206@jefferyfernandez.id.au... > Greg Donald wrote: > > >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 > > > > > > > > > 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

« previous php.general (#202581) next »