in reply to Re: unique cookie id?
in thread unique cookie id?
Digest::MD5::md5hex($$.time.$ENV{'REMOTE_ADDR'});
This won't be unique if you get two requests to the same Apache process from the same IP in under a second. Something that's fairly likely to happen in many environments I'm afraid :-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: unique cookie id?
by cLive ;-) (Prior) on Dec 24, 2003 at 14:55 UTC |