/**
  * Starts the session system.
  */
 protected function initSession()
 {
     if (!defined('NO_IMPORTS')) {
         require_once WCF_DIR . 'lib/system/session/CookieSessionFactory.class.php';
     }
     $factory = new CookieSessionFactory();
     self::$sessionObj = $factory->get();
     self::$userObj = self::getSession()->getUser();
 }