Bug Report #3844
Session read errors not properly ignored
| Status: | Closed | Start date: | 03/14/2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 100% |
||
| Category: | Core | |||
| Target version: | v3.0.11 | |||
| Resolution: | fixed | Points: |
Description
The Session::read() method ignores exceptions which are generated when unserialize() is called on the data returned from Session::_read(). When using the native session driver session_start() does this unserialization and any exceptions bubble up to the exception handler, meaning users get stuck with a broken session. I suggest either the native handler is changed to wrap the session_start() call in a try catch or the try catch in Session::read() is moved around the call to Session::_read()
Subtasks
Associated revisions
Catch errors when reading the data from session. Fixes #3844.
Log session reading errors. Refs #3844.
Log session reading errors. Refs #3844.
Catch errors when reading the data from session. Fixes #3844.
History
Updated by Jeremy Bush about 2 years ago
- Target version set to v3.0.11
Updated by Jeremy Bush about 2 years ago
- Status changed from New to Assigned
- Assignee set to Jeremy Bush
Updated by Jeremy Bush about 2 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
Applied in changeset commit:7d7f204c56293fc196f7838e665fd38b13e63632.
Updated by Jeremy Bush about 2 years ago
- Resolution set to fixed