code: public static CmsQuickLaunchLocationCache getLocationCache(HttpSession session) {
  
          CmsQuickLaunchLocationCache cache = (CmsQuickLaunchLocationCache)session.getAttribute(
              CmsQuickLaunchLocationCache.class.getName());
          if (cache == null) {
              cache = new CmsQuickLaunchLocationCache();
              session.setAttribute(CmsQuickLaunchLocationCache.class.getName(), cache);
          }
          return cache;
      }
docs: Returns the location cache from the user session.<p>
  
  @param session the session
  
  @return the location cache