[phplib] double 'insert into active_sessions...' MySQL error From: Stefan Jösch (sj <email protected>)
Date: 05/14/01

Sometimes, when I fastly reload a page using $perm->check("..."), PHPLIB wants
to set a new Session ID, although there is already the same Session ID in the
table:

-----------------------------------------------------------------------
Database error:

Invalid SQL: insert into active_sessions ( sid, name, val,
changed ) values ('86301d3c6c362541998bac27bee9b531', 'sid',
'c2lkOiR0aGlzLtSAngregwegesofewepeveölväspgfsffa3Jpcyc7Ig==',
'20010514102954')

MySQL Error: 1062 (Duplicate entry 'sid-86301d3c6c362541998bac27bee9b531' for
key 1)
Session halted.
-----------------------------------------------------------------------

Does anyone know the Problem?

Thanks in advance,
                         Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>