code: public HttpSession getHttpSession(String name) {
  		synchronized (this.sessions) {
  			for (HttpSession session : sessions) {
  				if (session.getName().equals(name)) {
  					return session;
  				}
  			}
  		}
  		return null;
  	}
docs: Gets the http session with a particular name, if any, or {@code null} otherwise.
  
  @param name the name
  @return the http session with a given name, or null, if no such session exists