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

From: Date: Sun, 06 Jun 1999 20:56:35 +0000
Subject: Re: [PHP4BETA] CVS update: php4/ext/session
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-1348@lists.php.net to get a copy of this message
On Jun 06, sas wrote: > + * - improve session id creation to avoid collisions > + * (make use of mersenne twister, other data such as IP, browser etc.) You should take a look at Apache's mod_unique_id. The algorithm there should be fine. 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. Jim

« previous php.version4 (#1348) next »