DiagnosticsCookieEntry object

An individual cookie object.

Note  These APIs can only be used with F12 developer tools and the Diagnostics Script Engine, and can't be called from JavaScript.

 

 

Syntax

 var oCookieEntry = DiagnosticCookies.createCookie("myCookieName");

DOM Information

Inheritance Hierarchy

The DiagnosticsCookieEntry does not inherit from any class or interface.

Members

The DiagnosticsCookieEntry object has these types of members:

  • Properties

Properties

The DiagnosticsCookieEntry object has these properties.

Property Access type Description

domain

Read/write

The domain for a cookie.

expires

Read/write

Set or get a date indicating when the cookie expires.

httpOnly

Read/write

Gets or sets whether a cookie is accessible from Javascript or not (i.e. accessible from javascript).

name

Read/write

Returns the name of the cookie.

path

Read/write

The path of the cookie.

secure

Read/write

Returns whether a cookie is a secure cookie or not.

session

Read/write

Returns whether a cookie is a session cookie or not.

value

Read/write

The value of the property.