I'm testing Zend_Session_SaveHandler_DbTable and looking through the MySQL
logs there are three calls foreach request:



SELECT `sessions`.* FROM `sessions` WHERE (((`sessions`.`sessionid` =
'3d8575724bd009c1bc0887397e1c965a')))

SELECT `sessions`.* FROM `sessions` WHERE (((`sessions`.`sessionid` =
'3d8575724bd009c1bc0887397e1c965a')))

UPDATE `sessions` SET `modified` = '1232549037', `data` = 'bla bla bla…'



Why is doing the first select twice? Looking through the code I suppose the
first call is the "find" method and the second one is one called
"getPrimaryKey" but I'm not sure…


-- 
Xavier Vidal Piera
Director Tècnic de Citrusparadis.com - Grupo Intercom
Enginyer Tècnic Informàtic de Gestió
Tècnic Especialista Informàtic d'equips
[email protected]
http://web.xaviervidal.net
610.68.41.78

Reply via email to