in reply to Best methods of http authentication

I usually use a globally unique user ID (see Data::UUID) as a session id. This session ID then points to a specific user in the web server's database.

----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer

: () { :|:& };:

Note: All code is untested, unless otherwise stated