docs: public static SessionBean getSessionBean(){
          String id = idLocal.get();
          if(id==null)
              return null;
          SessionBean s = getSessionMap().get(id);
  
          //check TTL
          if(s!=null && (System.currentTimeMillis()-s.lastUsed)>TTL){
              if(LOG.isDebugEnabled())
                  LOG.debug("Discarding session "+id+" with livetime="+(System.currentTimeMillis()-s.lastUsed)+"ms");
              s = null;
          }
  
          //new session
          if(s==null)
              s = new SessionBean();
  
          s.lastUsed = System.currentTimeMillis();
          updateSessionBean(s);
          s.id = id;
          return s;
      }