On Tuesday 09 March 2010 23:02:56 Gustavo Narea wrote:
> Hi.
> 
> You can implement "remember me" functionality both unconditionally and
> conditionally (e.g., when the user wants to). The unconditional way is
> supported out-of-the-box in newer versions of repoze.what-quickstart.

We have found a way to implement remember me in current version of Tg2.0 with 
the version of repoze.what installed by Tg2.0 with a quick hack. 

We set a cookie from the /login.html view to pass the remember_me option to 
the controller and inside the /post_login we update the max_age.

You can find the code here: http://blog.axant.it/archives/231
It is not a complete solution, but it is a quick way to obtain the result.

Alessandro

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
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