|There's more than one way to do things|
Writing web pages in Perl with sessionsby fx (Pilgrim)
|on Sep 12, 2001 at 15:59 UTC||Need Help??|
fx has asked for the
wisdom of the Perl Monks concerning the following question:
A search for 'session' and 'sessions' on this site has, suprisingly, revealed nothing.
I am trying to find the 'best' way to handle user sessions on the websites I have written in Perl. The current methods involve storing a session ID (20 characters, or something like that) in a database/file and retrieving at the start of every page.
This does not seem efficient.
Are there any better ways to do this? Can I store sessions in memory?
I am not using mod_perl if that matters.
fx Edited by boo_radley : closed <b> tag