cookieEnabled

HTML (DHTML)

cookieEnabled Property

Internet Development Index

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

Syntax

[ bEnabled = ] object.cookieEnabled

Possible Values

bEnabledBoolean that receives one of the following values.
falseBrowser does not support cookies.
trueBrowser does support cookies.

The property is read-only. The property has no default value.

Remarks

Note  CookieEnabled does not check the status of session cookies.

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

Standards Information

There is no public standard that applies to this property.

Applies To

clientInformation, navigator