Re: Store session data to SQL db instead of files
| From: | John Coggeshall | Date: | Thu, 15 May 2003 09:24:46 +0000 |
| Subject: | Re: Store session data to SQL db instead of files | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-147679@lists.php.net to get a copy of this message | ||
On Thu, 2003-05-15 at 05:20, nooper wrote:
> Is there any support for storing session files in a SQL database instead of
> individual files.
Sure. You can create a custom session handler to use a database instead
of a flat file.
http://www.php.net/manual/en/function.session-set-save-handler.php
John
--
-~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~-
John Coggeshall
john at coggeshall dot org http://www.coggeshall.org/
-~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~-