Re: PHP session_id()

From: Date: Tue, 31 Jan 2006 10:35:21 +0000
Subject: Re: PHP session_id()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-229518@lists.php.net to get a copy of this message
Jacques wrote:
Hi all Is it possible that the PHP engine can generate duplicate session id's for one application? Can one assume that the session id generated and saved in a database will always be unique (never to be repeated)?
there is no garantee stated anywhere that I have read but the following ini settings might help you to achieve a level of assurance thats acceptable: session.entropy_file session.entropy_length (Available since PHP 5.0.0.): session.hash_function session.hash_bits_per_character http://php.net/manual/en/ref.session.php
Regards Jacques


« previous php.general (#229518) next »