MCPcopy Create free account
hub / github.com/webpy/webpy / expired

Method expired

web/session.py:198–202  ·  view source on GitHub ↗

Called when an expired session is atime

(self)

Source from the content-addressed store, hash-verified

196 self._last_cleanup_time = current_time
197
198 def expired(self):
199 """Called when an expired session is atime"""
200 self._killed = True
201 self._save()
202 raise SessionExpired(self._config.expired_message)
203
204 def kill(self):
205 """Kill the session, make it no longer available"""

Callers 2

_check_expiryMethod · 0.95
_validate_ipMethod · 0.95

Calls 2

_saveMethod · 0.95
SessionExpiredClass · 0.85

Tested by

no test coverage detected