Authenticated session expiration in TG 2.1

28 views
Skip to first unread message

puska

unread,
May 28, 2012, 4:23:31 AM5/28/12
to TurboGears
Hi everyone,

I am in the process of porting a TG 1.0 application to TG 2.1. One of
the things that looks like is not there anymore is expiring
authenticated sessions. In TG 1.0 there were visit and visit_identity
tables (I assume they had to do with session expiration). paster setup-
app does not create those tables anymore and my authenticated sessions
do not expire until I log out or close browser session.
I there a provision in TG 2.1 to expire authenticated sessions. Any
help or a pointer would be most appreciated.

Alessandro Molina

unread,
May 28, 2012, 10:09:04 AM5/28/12
to turbo...@googlegroups.com
Most simple way is to take a look at the login.html page.
The remember me field sets the expiration of the authentication
session, set it to an hidden input of any value you want it to last
> --
> You received this message because you are subscribed to the Google Groups "TurboGears" group.
> To post to this group, send email to turbo...@googlegroups.com.
> To unsubscribe from this group, send email to turbogears+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.
>
Reply all
Reply to author
Forward
0 new messages