original_string: protected function setAssoc($handle, $assoc)
      {
          $oldSession = session_id();
          session_commit();
          session_id($assoc['handle']);
          session_start();
          $_SESSION['assoc'] = $assoc;
          session_commit();
          if($oldSession) {
              session_id($oldSession);
              session_start();
          }
      }
code: protected function setAssoc($handle, $assoc)
      {
          $oldSession = session_id();
          session_commit();
          session_id($assoc['handle']);
          session_start();
          $_SESSION['assoc'] = $assoc;
          session_commit();
          if($oldSession) {
              session_id($oldSession);
              session_start();
          }
      }
code_tokens: protected function setAssoc ( $ handle , $ assoc ) { $ oldSession = session_id ( ) ; session_commit ( ) ; session_id ( $ assoc [ 'handle' ] ) ; session_start ( ) ; $ _SESSION [ 'assoc' ] = $ assoc ; session_commit ( ) ; if ( $ oldSession ) { session_id ( $ oldSession ) ; session_start ( ) ; } }
docstring: Stores an association.
  If you want to use php sessions in your provider code, you have to replace it.
  @param String $handle Association handle -- should be used as a key.
  @param Array $assoc Association data.
docstring_tokens: Stores an association . If you want to use php sessions in your provider code you have to replace it .