hakkr has asked for the wisdom of the Perl Monks concerning the following question:
With mod_perl shared variables you can store information in the web server between requests. This is kind of like how java application servers work storing session beans in the container.
So my question is do I have to roll my own mod_perl session code or is there a particular module well suited with standard session features like cookie management, session id encrypting, timeouts etc
Obviously for performance reasons I'd like to hit any storage system as little as possible for each request so storing session info and related cached user info in memory seems like a good idea as long as it can be 'garbage collected' when sessions expire so the server does not run out of memory.
So how do you/would you do this? which modules are best for caching info in memory? Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: mod_perl session beans
by Thilosophy (Curate) on Jan 10, 2005 at 12:18 UTC | |
by hakkr (Chaplain) on Jan 10, 2005 at 15:51 UTC | |
by perrin (Chancellor) on Jan 12, 2005 at 17:02 UTC | |
|
Re: mod_perl session beans
by perrin (Chancellor) on Jan 10, 2005 at 22:58 UTC | |
by hakkr (Chaplain) on Jan 10, 2005 at 23:54 UTC | |
by perrin (Chancellor) on Jan 11, 2005 at 00:00 UTC |