MCPcopy Index your code
hub / github.com/pyload/pyload / invalidate

Method invalidate

module/lib/beaker/session.py:199–205  ·  view source on GitHub ↗

Invalidates this session, creates a new session id, returns to the is_new state

(self)

Source from the content-addressed store, hash-verified

197 self.clear()
198
199 def invalidate(self):
200 """Invalidates this session, creates a new session id, returns
201 to the is_new state"""
202 self.clear()
203 self.was_invalidated = True
204 self._create_id()
205 self.load()
206
207 def load(self):
208 "Loads the data from this session from persistent storage"

Callers 2

__init__Method · 0.95
loadMethod · 0.95

Calls 3

_create_idMethod · 0.95
loadMethod · 0.95
clearMethod · 0.45

Tested by

no test coverage detected