Re: [PHP4BETA] Session with MySQL

From: Date: Fri, 17 Sep 1999 00:37:55 +0000
Subject: Re: [PHP4BETA] Session with MySQL
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-4546@lists.php.net to get a copy of this message
On Thu, Sep 16, 1999 at 10:51:09AM -0700, John Hamlik wrote: > We run php3 on a server cluster and have written our own session object > that stores its information in a MySQL database. I know php4 now > includes a session object that is very similiar to the one we have > written. My questions are: > > Can the built in session object store its information in a MySQL > database? Providing user level functions has to be implemented yet. This would enable you to use all standard PHP functions to handle session data. > Is there a performance improvement using the built in session vs. a > scripted session? Since the module is completely written in C, it's probably faster than a normal PHP script. We haven't performed any benchmarks yet, but depending on your application and hit numbers there might be a noticeable or negligible effect. -- Regards, Sascha Schumann Consultant

« previous php.version4 (#4546) next »