expires property

Set or get a date indicating when the cookie expires.

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

 

This property is read/write.

 

Syntax

JavaScript
object.expires = dDatedDate = object.expires

 

Property values

Type: Date

Date value.

See also

DiagnosticsCookieEntry