try auth.settings.expiration = X
On Aug 7, 2:35 pm, rb <rbspg...@gmail.com> wrote: > Section 4.8 from the Web2py Manual states that session data remains > until/unless the user deletes the session cookie or else the session > expires. When does a session expire - or what causes a session to > expire? Do I have any control over maintaining the life of a session ? > I guess I can delete a session with "session.forget" but do I have a > "session.forgetMeNot" ? Below I show a snippet from section 4.8 which > talks about this. > > === > 4.8 session > > is another instance of the Storage class. Whatever is stored into > session for example: > > session.myvariable="hello" > > can be retrieved at a later time: > > a=session.myvariable > > as long as the code is executed within the same session by the same > user > (provided the user has not deleted session cookies and the session did > not > expire). > === --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@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 -~----------~----~----~----~------~----~------~--~---