original_string: protected function cleanupSession(WebRequest $request)
      {
          $sessionToken = $request->getSessionData('userSessionToken');
          setcookie($sessionToken, 0, time() - 60, '/', '', $request->isSsl());
          
          $oldSessionToken = $request->getSessionData('oldUserSessionToken');
          if ($oldSessionToken != '') {
              setcookie($oldSessionToken, 0, time() - 60, '/', '', $request->isSsl());
          }
      
          $request->deleteSessionData('userUuid');
          $request->deleteSessionData('userSessionToken');
          $request->deleteSessionData('userSessionTokenLifetime');
          $request->deleteSessionData('oldUserSessionToken');
          $request->deleteSessionData('oldUserSessionTokenLifetime');
      }
code: protected function cleanupSession(WebRequest $request)
      {
          $sessionToken = $request->getSessionData('userSessionToken');
          setcookie($sessionToken, 0, time() - 60, '/', '', $request->isSsl());
          
          $oldSessionToken = $request->getSessionData('oldUserSessionToken');
          if ($oldSessionToken != '') {
              setcookie($oldSessionToken, 0, time() - 60, '/', '', $request->isSsl());
          }
      
          $request->deleteSessionData('userUuid');
          $request->deleteSessionData('userSessionToken');
          $request->deleteSessionData('userSessionTokenLifetime');
          $request->deleteSessionData('oldUserSessionToken');
          $request->deleteSessionData('oldUserSessionTokenLifetime');
      }
code_tokens: protected function cleanupSession ( WebRequest $ request ) { $ sessionToken = $ request -> getSessionData ( 'userSessionToken' ) ; setcookie ( $ sessionToken , 0 , time ( ) - 60 , '/' , '' , $ request -> isSsl ( ) ) ; $ oldSessionToken = $ request -> getSessionData ( 'oldUserSessionToken' ) ; if ( $ oldSessionToken != '' ) { setcookie ( $ oldSessionToken , 0 , time ( ) - 60 , '/' , '' , $ request -> isSsl ( ) ) ; } $ request -> deleteSessionData ( 'userUuid' ) ; $ request -> deleteSessionData ( 'userSessionToken' ) ; $ request -> deleteSessionData ( 'userSessionTokenLifetime' ) ; $ request -> deleteSessionData ( 'oldUserSessionToken' ) ; $ request -> deleteSessionData ( 'oldUserSessionTokenLifetime' ) ; }
docstring: Removes all user and token data from the session
  
  @access protected
  @param \Zepi\Turbo\Request\WebRequest $request
docstring_tokens: Removes all user and token data from the session