IOmNavigator::cookieEnabled Property

Retrieves whether client-side persistent cookies are enabled. Persistent cookies are those that are stored on the client-side computer.

Syntax

HRESULT IOmNavigator::get_cookieEnabled(VARIANT_BOOL *p);

Parameters

  • p
    Pointer to a variable of type VARIANT_BOOL that receives one of the values listed in Possible Values.

Possible Values

VARIANT_FALSE Client does not support cookies.
VARIANT_TRUE Client does support cookies.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

Note  CookieEnabled does not check the status of session cookies.

This property does not check whether third-party persistent cookies are enabled .