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

From: Date: Mon, 07 Jun 1999 08:03:10 +0000
Subject: Re: [PHP4BETA] CVS update: php4/ext/session
References: 1 2  Groups: php.version4 
Request: Send a blank email to php-version4+get-1350@lists.php.net to get a copy of this message
Jim Winstead wrote: > I don't think you should be using a random number at all > in generating these ids. You need to go with something > deterministic so you can guarantee no collisions, rather > than just hoping you don't get any. Make the IDs deterministic and you will get guessable session ids. Welcome to the wonderful world of session hijacking. In my opinion, there should be the option of having a user function callback that must return a session id to PHP4s session management. That would be infinitely more flexible... Kristian -- Kristian Köhntopp, NetUSE Kommunikationstechnologie GmbH Siemenswall, D-24107 Kiel, Germany, +49 431 386 436 00 Using PHP3? See our web development library at http://phplib.shonline.de/ (GPL)

« previous php.version4 (#1350) next »