How  request.identity['userdata'] must be used?

I did some test but I am not be able to store/recover data into it.

Regards

El sábado, 2 de junio de 2012 18:30:14 UTC+2, Alessandro Molina escribió:
>
> On Sat, Jun 2, 2012 at 12:48 PM, Juan Antonio Ibañez Santorum 
> <[email protected]> wrote: 
> > What I need is to know how to set up auth session duration, to be 
> renewed in 
> > each controller method call and to be redirected to logout handler when 
> a 
> > controller method gets called once auth session has expired 
> > 
>
> You can easily achieve this by checking in BaseController.__call__ for 
> session expiration and renew it every time. 
>
> Another option is to store, instead of using a Beaker session, your 
> data into request.identity['userdata'] which will last until the user 
> is logged. 
> Beaker session is mostly provided as a way to store temporary data 
> related to the browsing session instead of user or when no 
> authentication is provided. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/turbogears/-/S_f7qCm0xDwJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to