[Catalyst] Oddness with Catalyst::Plugin::Session::Store::DBIC

Ben van Staveren benvanstaveren at gmail.com
Tue Apr 27 08:42:21 GMT 2010


Hi folks,

Recently after upgrading all of Catalyst, I'm witnessing some weird 
behaviour in some apps. I'm using Catalyst::Plugin::Session::Store::DBIC 
to store my sessions, and when I have DBIC_TRACE going, I see this:

BEGIN WORK
SELECT me.id, me.session_data, me.expires FROM session me WHERE ( me.id 
= ? ): 'session:fe3baeddb6ec2d3a14b07651a8792c7b85df9722'
COMMIT
UPDATE session SET expires = ? WHERE ( id = ? ): '1272443848', 
'session:fe3baeddb6ec2d3a14b07651a8792c7b85df9722                    

Not once per request, but up to 50 times in a single request. Is this 
something wrong in my code or is C::P::S::S::DBIC going nuts?

-- 
Ben van Staveren
phone: +62 81 70777529
email: benvanstaveren at gmail.com




More information about the Catalyst mailing list