Invalidates this session, creates a new session id, returns to the is_new state
(self)
| 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" |
no test coverage detected