113114115116117118119120121122123
long idleTime = System.currentTimeMillis() - sess.getLastAccessedTime(); int max = sess.getMaxInactiveInterval(); if ( idleTime >= max ) { sessIdSet.remove( session_id ); sess.invalidate(); continue; } } // end for loop. } while ( true );
168169170171172173174175176177178
sess.access(); } else { sessIdSet.remove( session_id ); sess.invalidate(); return new MetaHttpSession( session_id, null ); } } return new MetaHttpSession( session_id, sess ); }