Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

IOmNavigator::cookieEnabled Property

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


HRESULT IOmNavigator::get_cookieEnabled(VARIANT_BOOL *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.


Note  CookieEnabled does not check the status of session cookies.

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

Community Additions

© 2015 Microsoft