Re: [Fwd: [PHP] Sessions in databases]

From: Date: Tue, 06 Oct 2009 20:22:10 +0000
Subject: Re: [Fwd: [PHP] Sessions in databases]
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-298694@lists.php.net to get a copy of this message
Sam Stelfox wrote on 2009-10-06 18:09:
If you are distributing your application over multiple servers, using a database for session tracking allows a user to continue there session regardless of which server their request bounces too. It prevents the need for 'sticky' network connections which time out anyways.
I know Alfio don't have access to the php.ini file, but if you do and have the above setup, consider using a tmp dir like /phptmp and have one root server and mount the other servers /phptmp to the root servers /phptmp Kind regards Kim Emax
Il pinguino volante wrote:
(There were some erroros in the previous email, I'm sorry) Hi to all. I have to realize an authentication system for a lot of users. I heard that someone uses to store session states (?) into a database. I'd like to know how and, expecially, WHY to do it and what's would be better (considering that I CANNOT -d'oh!- edit the php.ini file). Thanks in advance, Alfio.


« previous php.general (#298694) next »