Re: [PHP4BETA] Session support

From: Date: Mon, 07 Jun 1999 16:45:54 +0000
Subject: Re: [PHP4BETA] Session support
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-1372@lists.php.net to get a copy of this message
On Mon, Jun 07, 1999 at 04:57:22PM +0200, Gianugo Rabellino wrote: > I'm just starting to play with the new session support. It's > great in design, I can't wait to see a *sql module to save > the session stuff instead of files (and I cant' wait for the > documentation too...:)). Thanks once again to the > Zend team and to Sasha in particular :) Yes. Btw, in which countries is "Sasha" used? I see my name very often misspelled (no offence to you ;-). I currently don't plan to write anything beyond the files handler. The user hooks should make it fairly easy to design own session data handlers. > Now the problem side: > > 1. This very simple code: > <? > session_start(); > $sessval++; > echo "Sess: $sessval<P>"; > session_register("sessval"); > echo "<A HREF=\"$PHP_SELF\">And again...</A>"; > ?> > > from time to time makes my apache 1.3.6 on a FreeBSD 2.2.8 go > nuts, with 80% CPU usage and a a resindent size of ~30M. Is > there anything I can do to further investigate it? Yep. If it freezes that way run gdb on the freaking process. gdb apache-1.3.6/src/httpd <pid-of-the-process> Then simply do the standard "bt" and post it to the list. (I think the Apache install strips binaries before installing them, so you would need to have to run the httpd version from the src directory.) > 2. I see that the cookie has no directory or expire time. Is this > a project choice? Should the approach be to make the cookie > expire from the server side with a manual SetCookie? I'm currently looking into possibilities to generalize things such as timeouts, cleanup times etc. Sorry that the module is not already as complete as you expect it. -- Regards, Sascha Schumann Consultant

« previous php.version4 (#1372) next »