yyuu/jetty-nosql-memcached — Issue #8: new session is created if current session was invalid
Author: yyuu
Created: 2012-02-19 08:35:27+00:00
State: open

Report from Daniel Peters.

> 2.) I noticed a lot of calls to this line of KeyValueStoreSessionManager in
> my logs:
> log.warn("save: could not recover attributes of invalidated session: id=" +
> session.getId());
>
> The reason is probably that I invalidate Sessions from Search-Engine-Bots
> (like Googlebot for example) directly after the request, because the session
> isn't needed anymore.
> But if I follow your code I see that a new session is created if it was
> invalid.
> Is this really wanted and neccessary? I didn't understand the background of
> this and why it's done.
> For now I just disabled the logging, so it doesn't spam my logs so much. :)