You can do the same in web2py. You can use cache and sessions. The session you can put where you want. What does not make sense to me is put some session data in session files and some in cookies. If you have to have the session files, use them.
On Tuesday, 16 October 2012 11:51:59 UTC-5, David Marko wrote: > > Java PlayFramework! has this as the only default. Using client side cookie > based sessions help create distributed environment easily, as there are no > sessions specific to one server node. They use both .... client side > cookies for sessions and caches for keeping serverside data. > > David > > Dne úterý, 16. října 2012 18:39:02 UTC+2 Massimo Di Pierro napsal(a): >> >> Right now you can have or the other. To me it does not make sense to >> store anything client side if you already have to access a pickle object >> locally. You only add overhead and risk of exposing data. >> >> On Tuesday, 16 October 2012 10:59:20 UTC-5, VP wrote: >>> >>> I think cookie-based sessions is great for many cases. But in some >>> cases, it might not be desirable as clients can see what might be secret >>> information. >>> >>> Why not both? Maybe, two types of sessions, client-side and >>> server-side sessions. Although both client and server side sessions are >>> meant to maintain states, they are appropriate for different things. >>> >> --