/** * start a SQL based Session * @param boolean $blocking */ public static function onStartSession($blocking = true) { $db = gdo_db(); if (!isset($_COOKIE[GWF_SESS_NAME])) { setcookie(GWF_SESS_NAME, 'i_like_cookies', time() + 60, '/', GWF_Session::getDomain()); GWF_Session::initFakeSession(); } else { if (false === GWF_Session::start($blocking)) { self::logDie('GWF not installed?!'); } } }