I don't know if the problem is in this module, because I think I have the same issue, and I am using
Session::Store::File

Octavian

----- Original Message ----- From: "Dmitry" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, March 28, 2007 10:25 PM
Subject: [Catalyst] Catalyst::Plugin::Session::Store::Memcached notcorrectly work with session expire


If in session expire time reached on server and but on client cookie still valid and user
tries to authenticate again. After authentication succeeded
Catalyst::Plugin::Session::Store::Memcached::store_session_data
called to store new values which called Catalyst::Plugin::Session::session_expires to get new expiration for a key but that method finds that session expired and deletes "expires:" value instead of renewing one. So "session:" value stored but "expires:" only deleted and on next access stored session is expired once again.

Here how it looks from memcached perspective:

<7 set catalyst_session#0.02#SMDE#session:e1483bb888fc9603201210451aa0ed1b450ec8a5 1 0 229
7 STORED
<7 get catalyst_session#0.02#SMDE#expires:e1483bb888fc9603201210451aa0ed1b450ec8a5
7 END
<7 delete catalyst_session#0.02#SMDE#session:e1483bb888fc9603201210451aa0ed1b450ec8a5
7 DELETED
<7 delete catalyst_session#0.02#SMDE#expires:e1483bb888fc9603201210451aa0ed1b450ec8a5
7 NOT_FOUND
<7 delete catalyst_session#0.02#SMDE#flash:e1483bb888fc9603201210451aa0ed1b450ec8a5
7 NOT_FOUND
<7 get catalyst_session#0.02#SMDE#expires:e1483bb888fc9603201210451aa0ed1b450ec8a5
7 END
<7 delete catalyst_session#0.02#SMDE#session:e1483bb888fc9603201210451aa0ed1b450ec8a5



_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/


_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to