Navigator.cookieEnabled (Property)

A flag value indicating whether cookies are available or not.

Availability:

JavaScript - 1.5
JScript - 3.0
Internet Explorer - 4.0
Netscape - 6.0
Property/method value type:Boolean primitive
JavaScript syntax:-navigator.cookieEnabled

You can use this property to check whether the user has enabled cookie support. The content of this property will be the Boolean true or false value. This may affect the way that you treat the user when they access your site.

Property attributes:

ReadOnly