Re: [PHP] $_SERVER['UNIQUE_ID'] question

2003-09-23 Thread Jason Sheets
Rather than using this number I'd suggest generating your own, use 
mt_rand or uniqid to generate a unique series of numbers and then use 
md5 or sha1 to convert them to a hash (I've generated 128 character 
session identifiers using a variety of these techniques).  You may also 
convert it to hex or something similar.

Jason

Susan Ator wrote:

I have looked and cannot find any information on this particular variable.
How unique is this id and when does it get generated? I'm looking to use
this as a session identifier.
Susan

 

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


Re: [PHP] $_SERVER['UNIQUE_ID'] question

2003-09-23 Thread Curt Zirzow
* Thus wrote Susan Ator ([EMAIL PROTECTED]):
> I have looked and cannot find any information on this particular variable.
> How unique is this id and when does it get generated? I'm looking to use
> this as a session identifier.
 
This is a variable created by the webserver, it is unique per page
request.  

Curt
-- 
"I used to think I was indecisive, but now I'm not so sure."

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



[PHP] $_SERVER['UNIQUE_ID'] question

2003-09-23 Thread Susan Ator
I have looked and cannot find any information on this particular variable.
How unique is this id and when does it get generated? I'm looking to use
this as a session identifier.

Susan

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