Ticket #8537: 8537.diff

File 8537.diff, 949 bytes (added by Tim Graham, 15 years ago)
  • docs/topics/http/sessions.txt

     
    188188      different values:
    189189
    190190            * If ``value`` is an integer, the session will expire after that
    191               many seconds of inactivity. For example, calling
     191              many seconds of inactivity (inactivity constitutes time in which
     192              request.session is not modified, simply reading from a session
     193              is not considered activity). For example, calling
    192194              ``request.session.set_expiry(300)`` would make the session expire
    193               in 5 minutes.
     195              in 5 minutes, assuming the session is not written to before then.
    194196
    195197            * If ``value`` is a ``datetime`` or ``timedelta`` object, the
    196198              session will expire at that specific date/time.
Back to Top