[PHP] Re: Session IDs - How are they generated?

2005-03-20 Thread zini10
Im Pretty sure it's using Uniqid , its the simplest solution possible ,
about the second question, php doesnot mind if he is being run from 
apahce,iis or command line.
Dont count on my answers coz im not really sure.


Yannick Warnier [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 Hi there,

 I'm looking for a good document that describes session ID generation in
 PHP 4.3.6. Does somebody have that at hand?

 I couldn't find anything googling it, and nothing in the PHP doc. I
 would like to know what kind of parameters it uses during the
 generation. And also how it is generated in the case of a script
 executed in command line.

 Thanks,

 Yannick 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: Session IDs - How are they generated?

2005-03-20 Thread Yannick Warnier
Le dimanche 20 mars 2005  13:02 +0200, zini10 a crit :
 Im Pretty sure it's using Uniqid , its the simplest solution possible ,
 about the second question, php doesnot mind if he is being run from 
 apahce,iis or command line.
 Dont count on my answers coz im not really sure.

Thank you. The ID generator is here:
php_session_create_id
(http://cvs.php.net/co.php/php-src/ext/session/session.c)

Thanks to Eric Colinet for his answer on this topic.

Yannick

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php