Hello,
from time to time we're getting this error in the logs:
[15-Oct-2015 11:36:05 +0200]: <gmb908g2> DB Error: [1062] Duplicate
entry 'gmb908g2bks41hqcmd8u7ksnj0' for key 'PRIMARY' (SQL Query: INSERT
INTO `session` (`sess_id`, `vars`, `ip`, `created`, `changed`) VALUES
('gmb908g2bks41hqcmd8u7ksnj0', '[....cut..cut..cut....]');
I don't exactly get why this is happening (if you have any suggestion on
this you're highly welcome) but I was wondering why not using a REPLACE
INTO instead of an INSERT INTO since you're working with an explicit
primary key.
Thanks :)
--
Andrea Brancatelli
Schema31 S.p.a.
Responsabile IT
ROMA - FIRENZE - PALERMO
ITALY
Tel: +39. 06.98.358.472
Cell: +39 331.2488468
Fax: +39. 055.71.880.466
Società del Gruppo SC31 ITALIA