code: public static PageFlowController getLongLivedPageFlow( String modulePath, HttpServletRequest request,
                                                             ServletContext servletContext )
      {
          StorageHandler sh = Handlers.get( servletContext ).getStorageHandler();
          HttpServletRequest unwrappedRequest = unwrapMultipart( request );
          RequestContext rc = new RequestContext( unwrappedRequest, null );
          
          String attrName = InternalUtils.getLongLivedFlowAttr( modulePath );
          attrName = ScopedServletUtils.getScopedSessionAttrName( attrName, unwrappedRequest );
          PageFlowController retVal =  ( PageFlowController ) sh.getAttribute( rc, attrName );
          return retVal;
      }
docs: Get the long-lived page flow instance associated with the given module (directory) path.
  
  @param modulePath the webapp-relative path to the directory containing the long-lived page flow.
  @param request the current HttpServletRequest.
  @param servletContext the current ServletContext.
  @return the long-lived page flow instance associated with the given module, or <code>null</code> if none is found.