Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^4: Randomness encountered with CGI Session

by afoken (Chancellor)
on Jun 13, 2010 at 08:09 UTC ( [id://844411]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $md5 = new Digest::MD5();
    $md5->add($$ , time() , rand(time) );
    return $md5->hexdigest();
    
  2. or download this
        my $IDFile = $args->{IDFile} or croak "Don't know where to store t
    +he id";
        my $IDIncr = $args->{IDIncr} || 1;
    ...
        print FH $ID;
        close(FH) or return $self->set_error("Couldn't close IDFile=>$IDFi
    +le: $!");
        return $ID;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://844411]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-09-12 03:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (15 votes). Check out past polls.

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.