default php sessions in a database
| From: | Robin Mordasiewicz | Date: | Wed, 12 Feb 2003 03:34:49 +0000 |
| Subject: | default php sessions in a database | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-135262@lists.php.net to get a copy of this message | ||
Is there a way to configure php to use a database for sessions rather than
a text file.
I have a server farm and want the session files to be accessible to all
machines in the cluster. I can have the session file on nfs but I am
worried about file locking.
I have read tutorials on how to set session.save_handler = user and then
each script configures their seesion variables and connections, but I
want this to be transparant to my users. I do not want users to have to
change anything in their scripts.