in reply to Untainting cookies
Here's what Apache::Session used the last time I looked:
require MD5; my $session = MD5->hexhash(MD5->hexhash(time.{}.rand().$$));
-- Randal L. Schwartz, Perl hacker
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Untainting cookies
by MeowChow (Vicar) on Apr 11, 2001 at 20:18 UTC |