public function cookiesSupported()
    {
        Cookie::set(self::TEST_COOKIE, 1);
        $cookie = Cookie::get(self::TEST_COOKIE);
        Cookie::force_expiry(self::TEST_COOKIE);

        return (empty($cookie)) ? false : true;
    }
public function cookiesSupported()
    {
        Cookie::set(self::TEST_COOKIE, 1);
        $cookie = Cookie::get(self::TEST_COOKIE);
        Cookie::force_expiry(self::TEST_COOKIE);

        return (empty($cookie)) ? false : true;
    }
public function cookiesSupported ( ) { Cookie :: set ( self :: TEST_COOKIE , 1 ) ; $ cookie = Cookie :: get ( self :: TEST_COOKIE ) ; Cookie :: force_expiry ( self :: TEST_COOKIE ) ; return ( empty ( $ cookie ) ) ? false : true ; }
Test to see if the current user supports cookies

@return boolean
Test to see if the current user supports cookies