6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
7/29/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#12041] Authentication does not work any longer
*
Your Email Address
*
Spam protection
Enter the letters below:
.__..__ . .. . . | |[__)|__|| | | |__|| \| ||___|__|
Comment
>>> With an empty table, this error couldn't happen, because with an >>> empty table there's no duplicate key. Which session handler backend >>> exactly do you use, and did you try a different driver if using SQL >>> (mysqli vs. mysql/pdo if using mysql)? >> >> >> Ok. I emptied the table again, and I am using the mysqli-driver now >> (before mysql/PDO) Here is the result (in the end nothing changes; >> log again in DEBUG). >> >> Here sessionhandler before the login: >> MariaDB [horde]> select * from horde_sessionhandler; >> Empty set (0.00 sec) >> >> and after: >> MariaDB [horde]> select session_id from horde_sessionhandler; >> +----------------------------------+ >> | session_id | >> +----------------------------------+ >> | dbobdsjjhiidd6cq54al4g56i5cv6tfr | >> +----------------------------------+ >> 1 row in set (0.00 sec) >> >> Perhaps there is some "INSERT" instead of an "UPDATE"-Statement somewhere? > > We explicitly check whether the session ID exists before deciding > whether to make an INSERT or UPDATE query. You have to track this > down yourself in Horde/SessionHandler/Storage/Sql.php in the write() > method.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers