// This shouldn't happen ( maybe we can try again ? )
ServerSession oldS=findSession( newId );
if( oldS!=null) {
// that's what the original code did
oldS.setState( ServerSession.STATE_EXPIRED );
oldS.recycle();
oldS.setState( ServerSession.STATE_INVALID );
}
sessions.put( newId, session );
return (session);
}