Re: default php sessions in a database
| From: | Tom Rogers | Date: | Wed, 12 Feb 2003 03:57:00 +0000 |
| Subject: | Re: default php sessions in a database | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-135264@lists.php.net to get a copy of this message | ||
Hi,
Wednesday, February 12, 2003, 1:34:49 PM, you wrote:
RM> Is there a way to configure php to use a database for sessions rather than
RM> a text file.
RM> I have a server farm and want the session files to be accessible to all
RM> machines in the cluster. I can have the session file on nfs but I am
RM> worried about file locking.
RM> I have read tutorials on how to set session.save_handler = user and then
RM> each script configures their seesion variables and connections, but I
RM> want this to be transparant to my users. I do not want users to have to
RM> change anything in their scripts.
Have a look at msession, it was built for your situation.
--
regards,
Tom