Re: [PHP4BETA] CVS update: php4/ext/session

From: Date: Sat, 05 Jun 1999 23:21:09 +0000
Subject: Re: [PHP4BETA] CVS update: php4/ext/session
References: 1 2 3 4  Groups: php.version4 
Request: Send a blank email to php-version4+get-1308@lists.php.net to get a copy of this message
On Jun 06, Sascha Schumann wrote: > On Sat, Jun 05, 1999 at 07:10:06PM -0400, Jim Winstead wrote: > > On Jun 05, Sascha Schumann wrote: > > > The session API is - as discussed on the list - really simple. > > > > session_start() is optional, right? (That is, I can call > > session_register() without having called it and it works > > things out.) > > > > Jim > > Currently, it is not. Making it optional would require a single > function call in the request startup handler. I think we should > make this behaviour optional, since automatically calling > session_start() will also trigger sending a cookie. Or better yet, make session_register to see if a session has been started, and if not, start one. Adds a very tiny amount of overhead to session_register(), but I think we can live with that.... Jim

« previous php.version4 (#1308) next »