On the same lines, I wonder if someone could simply pickle everything is
session and save it in teh database under there user id.
BR,
Jason
On Mon, 2010-04-19 at 03:18 -0700, selecta wrote: 
> I wonder what is the best way to store session of auth users
> 
> What I want is to retrieve an old session of a user when he loges in
> again (restoring all his customizations etc)
> To achieve this I could
> A) store the session in a table once the user loges out, but then I
> would loose changes if the session just expires because the user never
> logged out (right?)
> B) I could modify the session object to save itself in the database as
> soon as it is changed
> 
> B) sounds nicer, but how to do that, maybe somebody already did that?
> some help would be nice
> 
> 




-- 
Subscription settings: http://groups.google.com/group/web2py/subscribe?hl=en

Reply via email to