Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Rose::DB::Object and CGI::Session

by perrin (Chancellor)
on Oct 02, 2008 at 17:06 UTC ( #715053=note: print w/replies, xml ) Need Help??


in reply to Rose::DB::Object and CGI::Session

You could ask on the Rose mailing list, but my general advice is to avoid putting objects in your session. You should keep session data as small as possible because it gets sent to and from your database and passed through Storable on every hit. If you just save a unique ID instead, it will be much smaller.

Replies are listed 'Best First'.
Re^2: Rose::DB::Object and CGI::Session
by cLive ;-) (Prior) on Oct 03, 2008 at 21:41 UTC
    Agreed. It's info needed on each request, but I think I can drop my new found obsession with Rose DB here and just store the needed info in a hashref in the session.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://715053]
help
Chatterbox?
[marto]: deplorable is actually not bad for this point in the day :P
[erix]: we aim to satisfy
[erix]: churches are good excuses for large-scale architecture -- which is nice
[marto]: not to be confused with Chvrches

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2017-07-28 15:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (431 votes). Check out past polls.