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

(dkubb) Re: (2) Random, Unique, but Simple session ID

by dkubb (Deacon)
on Apr 13, 2001 at 21:50 UTC ( [id://72412]=note: print w/replies, xml ) Need Help??


in reply to Random, Unique, but Simple session ID

You should look at Apache::Session. You can use it's internal session generation system, without using the entire module:

use Apache::Session::Generate::MD5; #... my $session_id = Apache::Session::Generate::MD5::generate();

You may want to explore this module more. I think it will not only allow you to easily create pseudo-random session id's, but also provide a simple interface to store and retrieve session information. I've used Apache::Session many times and I highly recommend it.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-04-25 07:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found