in reply to unique cookie id?
use Digest::MD5 my $cookie_id = Digest::MD5::md5hex($$.time.$ENV{'REMOTE_ADDR'});
With the hash always being 32 chars long. Works for me.
Though maybe $$ under mod_perl is irrelevant here. Hmmm
cLive ;-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: unique cookie id?
by adrianh (Chancellor) on Dec 23, 2003 at 22:15 UTC | |
by cLive ;-) (Prior) on Dec 24, 2003 at 14:55 UTC |