in reply to Simple Session?
use MD5; sub generate_id { return substr(MD5->hexhash(time(). {}. rand(). $$. 'blah'), 0, 16) +; }
-- Randal L. Schwartz, Perl hacker
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Simple Session?
by Dominus (Parson) on Apr 13, 2001 at 22:01 UTC |