Package org.apache.tomcat.core

Examples of org.apache.tomcat.core.ServerSession.touch()


      // since we verified this sessionID, we can also set
      // it and adjust the session
      request.setSession( sess );
      request.setSessionId( sessionId );
     
      sess.touch( System.currentTimeMillis() );

      // if the session was NEW ( never accessed - change it's state )
      if( sess.getState() == ServerSession.STATE_NEW ) {
    sess.setState( ServerSession.STATE_ACCESSED, request);
      }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.