Opened 3 years ago
Last modified 3 years ago
#2487 new Defect
Session: fallback failure
| Reported by: | coldtrick | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Near Term Future Release |
| Component: | Core | Version: | 1.7 |
| Severity: | minor | Keywords: | |
| Cc: | brettp | Difficulty: | moderate |
Description
When for some reason there is an error in saving session data to the database it falls back to a file session.
However on the next page first Elgg tries to read from the database, as this succeeds the data in the session file can never be accessed.
To make this error happen, try to write more the 1MB of data to a session (1MB is default MySQL max_packet_size).
A possible solution would be if the session_write falls back to the file that session in the database would be removed.
Change History (1)
comment:1 Changed 3 years ago by brettp
- Difficulty set to moderate
- Milestone changed from Elgg 1.8 to Elgg 1.9
Note: See
TracTickets for help on using
tickets.

This is probably a really rare error, so I'm pushing it to 1.9.