original_string: protected function startSession(WebRequest $request)
      {
          // Save the nonce base on the session
          $request->setSessionData('nonceBase', md5(uniqid()));
          
          // Save the ip address on the session
          $request->setSessionData('ipAddress', $_SERVER['REMOTE_ADDR']);
          
          // Save the user agent on the session
          if (isset($_SERVER['HTTP_USER_AGENT'])) {
              $request->setSessionData('userAgent', $_SERVER['HTTP_USER_AGENT']);
          }
          
          // Save the boolean that we started the session
          $request->setSessionData('sessionStarted', true);
      }
code: protected function startSession(WebRequest $request)
      {
          // Save the nonce base on the session
          $request->setSessionData('nonceBase', md5(uniqid()));
          
          // Save the ip address on the session
          $request->setSessionData('ipAddress', $_SERVER['REMOTE_ADDR']);
          
          // Save the user agent on the session
          if (isset($_SERVER['HTTP_USER_AGENT'])) {
              $request->setSessionData('userAgent', $_SERVER['HTTP_USER_AGENT']);
          }
          
          // Save the boolean that we started the session
          $request->setSessionData('sessionStarted', true);
      }
code_tokens: protected function startSession ( WebRequest $ request ) { // Save the nonce base on the session $ request -> setSessionData ( 'nonceBase' , md5 ( uniqid ( ) ) ) ; // Save the ip address on the session $ request -> setSessionData ( 'ipAddress' , $ _SERVER [ 'REMOTE_ADDR' ] ) ; // Save the user agent on the session if ( isset ( $ _SERVER [ 'HTTP_USER_AGENT' ] ) ) { $ request -> setSessionData ( 'userAgent' , $ _SERVER [ 'HTTP_USER_AGENT' ] ) ; } // Save the boolean that we started the session $ request -> setSessionData ( 'sessionStarted' , true ) ; }
docstring: Starts the session and saves the base session informations.
  
  @access protected
  @param \Zepi\Turbo\Request\WebRequest $request
docstring_tokens: Starts the session and saves the base session informations .