mauriciorodrigues / memcached-session-manager

Automatically exported from code.google.com/p/memcached-session-manager
0 stars 0 forks source link

_memcachedSessionTTL needs to be configurable #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
_memcachedSessionTTL in MemcachedBackupSessionManager needs to be
configurable.  I suppose it could be a separate attribute to the Manager,
but it should probably use the same value as the session timeout
(maxInactiveInterval), no?

[XREF issue ID 4]

Original issue reported on code.google.com by jhrigg...@gmail.com on 8 May 2009 at 2:43

GoogleCodeExporter commented 8 years ago
I suppose a _memcachedSessionTTL value isn't even really necessary.  We can 
just use
getMaxIntactiveInterval().  Patch attached.

Original comment by jhrigg...@gmail.com on 8 May 2009 at 2:49

Attachments:

GoogleCodeExporter commented 8 years ago
Also, see
http://github.com/jhriggs/memcached-session-manager/commit/635fd1996ae3c549fafc7
ea59cdbed5d13f8143c

Original comment by jhrigg...@gmail.com on 8 May 2009 at 3:40

GoogleCodeExporter commented 8 years ago
Yes, the original intention was to allow sessions to live longer in memcached, 
but
this would have required a different implementation. So for now it's ok to just 
use
the maxInactiveInterval.

Thanx, merged your changes (cherry-picked to commit).

Original comment by martin.grotzke on 9 May 2009 at 10:41