Reset generates a new session id, deletes the old one from storage, and resets the associated data. Returns: - error: An error if the reset fails. Usage: err := s.Reset()
()
| 278 | // |
| 279 | // err := s.Reset() |
| 280 | func (s *Session) Reset() error { |
| 281 | return s.ResetWithContext(s.resolveContext()) |
| 282 | } |
| 283 | |
| 284 | // ResetWithContext generates a new session id, deletes the old one from storage, and resets the associated data, |
| 285 | // using the provided context for cancellation and timeout control. |
nothing calls this directly
no test coverage detected