Re: $_SERVER['UNIQUE_ID'] question
| From: | Jason Sheets | Date: | Wed, 24 Sep 2003 00:24:48 +0000 |
| Subject: | Re: $_SERVER['UNIQUE_ID'] question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-163654@lists.php.net to get a copy of this message | ||
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