nsICookie2 编辑
The nsICookie2
interface provides information about a cookie, and extends the nsICookie
interface.
netwerk/cookie/nsICookie2.idl
Scriptable Please add a summary to this article. Last changed in Gecko 1.9.2 (Firefox 3.6 / Thunderbird 3.1 / Fennec 1.0)Inherits from: nsICookie
Attributes
Attribute | Type | Description |
creationTime | PRInt64 | The creation time of the cookie, in microseconds since midnight (00:00:00), January 1, 1970 UTC. Read only. |
expiry | PRInt64 | The actual expiry time of the cookie, in seconds since midnight (00:00:00), January 1, 1970 UTC. (where 0 does not represent a session cookie). Read only. |
isHttpOnly | boolean | true if the cookie is an http only cookie. Read only. |
isSession | boolean |
expiry time will also be honored for session cookies; thus, whichever is the more restrictive of the two will take effect. Read only. |
lastAccessed | PRInt64 | The last time the cookie was accessed, in microseconds since midnight (00:00:00) on January 1, 1970 UTC. "Accessed" means creation, modification, or reading by the server. Note: This time may be approximate. Read only. |
rawHost | AUTF8String | The host (possibly fully qualified) of the cookie, without a leading dot to represent if it is a domain cookie. Read only. |
See also
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论