Re: [Fwd: Sessions in databases]

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

 



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.






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