The session object itself never expires. Only the auth session expires. There is a
auth.settings.expiration = 3600 which you can make very very long. On Jan 10, 5:35 pm, Richard <richar...@gmail.com> wrote: > I need sessions though, because each user has different roles. Just > once they login I want the session to last until they logout. > > On Jan 8, 9:00 am, Wes James <compte...@gmail.com> wrote: > > > look in db.py > > > ## if no need for session > > # session.forget() > > > Just don't use sessions. > > > On Thu, Jan 7, 2010 at 2:57 PM, Richard <richar...@gmail.com> wrote: > > > is there a way to disable timeout and have sessions last forever? That > > > would be useful for my intranet app where security is not an issue. > > > <snip> > >
-- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.