Export (0) Print
Expand All

cookieEnabled property

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

Syntax

JavaScript

p = object.cookieEnabled

 

Property values

Type: Boolean

false (false)

Client does not support cookies.

true (true)

Client does support cookies.

Remarks

Note  CookieEnabled does not check the status of session cookies.

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

See also

clientInformation
navigator

 

 

Show:
© 2014 Microsoft