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

来源:互联网 发布:php单例模式数据库 编辑:程序博客网 时间:2024/06/07 02:28
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/ FALSE0 v 0
#HttpOnly_.taobao.com TRUE/ FALSE0 cookie22ca16f321117f92881d88fa8e7bd0b5d
.taobao.com TRUE/ FALSE1454210452 te64bcc630eff8acb5800d8aeb8f69a4e


0 0
原创粉丝点击