Ticket #8537: 8537.diff
File 8537.diff, 949 bytes (added by , 15 years ago) |
---|
-
docs/topics/http/sessions.txt
188 188 different values: 189 189 190 190 * 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 192 194 ``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. 194 196 195 197 * If ``value`` is a ``datetime`` or ``timedelta`` object, the 196 198 session will expire at that specific date/time.