(self)
| 133 | return self.expired() |
| 134 | |
| 135 | def _validate_ip(self): |
| 136 | # check for change of IP |
| 137 | if self.session_id and self.get("ip", None) != web.ctx.ip: |
| 138 | if not self._config.ignore_change_ip: |
| 139 | return self.expired() |
| 140 | |
| 141 | def _save(self): |
| 142 | current_values = dict(self._data) |