Issue Details (XML | Word | Printable)

Key: MDL-8732
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Petr Skoda
Reporter: Brian Sperduto
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Session: connection failed

Created: 03/Mar/07 10:14 AM   Updated: 07/Feb/09 07:57 PM
Return to search
Component/s: Authentication
Affects Version/s: 1.8
Fix Version/s: 2.0

Environment:
php 4.1.10
MySQL 4.1.21
Issue Links:
Relates
 

Database: MySQL
Participants: Brian Sperduto and Petr Skoda
Security Level: None
Resolved date: 07/Feb/09
Affected Branches: MOODLE_18_STABLE
Fixed Branches: MOODLE_20_STABLE


 Description  « Hide
There is an issue running sessions with Use database for session information dbsessions enabled. It will at times while browsing either log me out or produce an error saying Session: connection failed. When this error is produced it is extremely hard to log back in. In order to get back in you basically have to refresh and use your back button enough to get yourself back in.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Petr Skoda added a comment - 03/Mar/07 07:30 PM
What PHP version are you using - I guess PHP 4.1.10 is a typo.

I can not reproduce the problem, sorry. If you need to switch back, you can add dbsessions = false; into your config.php

Did you check the max_allowed_packet in MySQL configuration?


Brian Sperduto added a comment - 03/Mar/07 10:09 PM
I already switched back, is the packet config in bytes or something higher. php Version is 4.4.4 it was a typo I copied the wrong number.

Petr Skoda added a comment - 07/Feb/09 07:56 PM
database sessions were fully reimplemented in 2.0, I hope it will solve all these issues
thanks for the report