original_string: protected function getAssoc($handle)
      {
          $oldSession = session_id();
          session_commit();
          session_id($handle);
          session_start();
          $assoc = null;
          if(!empty($_SESSION['assoc'])) {
              $assoc = $_SESSION['assoc'];
          }
          session_commit();
          if($oldSession) {
              session_id($oldSession);
              session_start();
          }
          return $assoc;
      }
code: protected function getAssoc($handle)
      {
          $oldSession = session_id();
          session_commit();
          session_id($handle);
          session_start();
          $assoc = null;
          if(!empty($_SESSION['assoc'])) {
              $assoc = $_SESSION['assoc'];
          }
          session_commit();
          if($oldSession) {
              session_id($oldSession);
              session_start();
          }
          return $assoc;
      }
code_tokens: protected function getAssoc ( $ handle ) { $ oldSession = session_id ( ) ; session_commit ( ) ; session_id ( $ handle ) ; session_start ( ) ; $ assoc = null ; if ( ! empty ( $ _SESSION [ 'assoc' ] ) ) { $ assoc = $ _SESSION [ 'assoc' ] ; } session_commit ( ) ; if ( $ oldSession ) { session_id ( $ oldSession ) ; session_start ( ) ; } return $ assoc ; }
docstring: Retreives association data.
  If you want to use php sessions in your provider code, you have to replace it.
  @param String $handle Association handle.
  @return Array Association data.
docstring_tokens: Retreives association data . If you want to use php sessions in your provider code you have to replace it .