public function getSidForWidget()
    {
        $oSession = $this->getSession();
        $sid = null;
        if (!$oSession->isActualSidInCookie()) {
            $sid = $oSession->getId();
        }

        return $sid;
    }