On 05/21/2012 04:17 PM, Thomas Andraschko wrote:
> Ahh, cool stuff :)
> So the servlet-filter branch would also work with other containers?
Yes.
>
>> I don't think so. Only handling non-sticky sessions requires a little
>> bit more effort and stuff like container managed form based auth would
>> not be possible with a servlet filter.
>
> What do i need for non-sticky sessions?
Stuff that's not yet implemented for non-sticky sessions:
1) Saving a backup of the session in a different memcached to support
memcached failover
1) memcached failover
1.1.) saving a backup of the session in a different memcached
1.2.) handle memcached failover: load session from 2ndary/backup
memcached when the primary is not available, store session in the next
memcached for backup, change session id
2) secure sessionId generation (currently in
MemcachedSessionManagerRequestNonstickySession)
3) Implementation of
MemcachedSessionManagerRequestNonstickySession.isRequestedSessionIdValid
General functionality not yet implemented:
- Configuration of the MemcachedSessionManagerFilter (sticky/non-sticky,
memcached-configuration, serialization related stuff)
- Tests
Probably this list is not complete, it's only what comes to my mind
directly.
Cheers,
Martin
>
> 2012/5/16 Martin Grotzke <
martin....@googlemail.com
> <mailto:
martin....@googlemail.com>>
>
> On 05/14/2012 10:52 PM, Thomas Andraschko wrote:
> > Hi Martin,
> >
> > also, it works really fine :)
> Great :-)
>
> > I just implemented a ServletFilter which calls the chain first and
> then
> > prepares the failover in/for the session.
> > I think this should work in all cases because it will be done in the
> > request and before requestDestroyed.
> If you're using sticky sessions this should be fairly straightforward
> and
s.th <
http://s.th>. like what I hacked these days in the
> servlet-filter branch
> (
https://github.com/magro/memcached-session-manager/commit/eae654a7).
>
> >
> > Or do i miss something?
> I don't think so. Only handling non-sticky sessions requires a little
> bit more effort and stuff like container managed form based auth would
> not be possible with a servlet filter.
>
> Cheers,
> Martin
>
>