protected static function getSessionId() { static $s = null; if (!isset($s)) { $s = substr(uniqid(), 0, 6); } return $s; }