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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---