fx has asked for the wisdom of the Perl Monks concerning the following question:
Hello,
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.
Cheers,
fx Edited by boo_radley : closed <b> tag
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Writing web pages in Perl with sessions
by broquaint (Abbot) on Sep 12, 2001 at 16:37 UTC | |
by ducky (Scribe) on Sep 12, 2001 at 22:41 UTC | |
by fx (Pilgrim) on Sep 13, 2001 at 01:26 UTC | |
by ducky (Scribe) on Sep 13, 2001 at 02:05 UTC | |
Re: Writing web pages in Perl with sessions
by arashi (Priest) on Sep 12, 2001 at 17:37 UTC | |
Re: Writing web pages in Perl with sessions
by blakem (Monsignor) on Sep 12, 2001 at 16:07 UTC |
Back to
Seekers of Perl Wisdom