Re: PEAR Custom Session Handler for PHP4
| From: | Marius Andreiana | Date: | Mon, 07 Jan 2002 17:23:53 +0000 |
| Subject: | Re: PEAR Custom Session Handler for PHP4 | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-3810@lists.php.net to get a copy of this message | ||
On Lu, 2002-01-07 at 18:22, Bertrand Mansion wrote:
> Personally, I prefer my implementation which is based on phplib custom
> session handler. It can be found at :
> http://www.mamasam.com/develop/session/Session.phps
a sample script please, showing how to use it?
Seems to me that I still have to use it the phplib way, with
$sess->register( "var" );
I'd rather use standard php functions.
> Its advantages are :
> - it can support different containers (db, file, etc.)
The one I was talking about is only for db. You only include
pear_session.php and then go on as usual with sessions, as described
in php manual. They'll be saved in db instead of /tmp
--
Marius Andreiana
--
You don't have to go to jail for helping your neighbour
http://www.gnu.org/philosophy/