您的位置:首页 > 理论基础 > 计算机网络

Netscape HTTP Cookie File php程序中用curl保存的cookie文件格式

2015-11-02 11:53 766 查看
domain -
The domain that created AND that can read the variable.
flag -
A TRUE/FALSE value indicating if all machines within a given domain can access the variable. This value is set automatically by the browser, depending on the value you set for domain.
path -
The path within the domain that the variable is valid for.
secure -
A TRUE/FALSE value indicating if a secure connection with the domain is needed to access the variable.
expiration -
The UNIX time that the variable will expire on. UNIX time is defined as the number of seconds since Jan 1, 1970 00:00:00 GMT.
name -
The name of the variable.
value -
The value of the variable.

(域名,true,path,false,过期时间,cookie名,cookie值)

.taobao.com TRUE
/ FALSE
0 v
0

#HttpOnly_.taobao.com TRUE
/ FALSE
0 cookie2
2ca16f321117f92881d88fa8e7bd0b5d

.taobao.com TRUE
/ FALSE
1454210452 t
e64bcc630eff8acb5800d8aeb8f69a4e
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: