[PATCH] SQLite sessions
| From: | John Coggeshall | Date: | Mon, 30 Jun 2003 02:43:39 +0000 |
| Subject: | [PATCH] SQLite sessions | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-2992@lists.php.net to get a copy of this message | ||
Since SQLite will be bundled in the future, I sat down and got
acquainted with it by writing a module for the session extension which
allows users to store their session data in a SQLite database*.
To use, just apply the patch to session.c (which adds the reference to
the new module and adds the mod_sqlite.c to config.m4) and compile.. To
use it set session.save_handler = sqlite.
comments welcome.
John
* = http://www.coggeshall.org/php/mod_sqlite.php
--
-~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~-
John Coggeshall
john at coggeshall dot org http://www.coggeshall.org/
-~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~-