cookie解释问题帮个忙!!回复者有分
我在设置完cookie后发现检查cookie的变量的时候,如果检查的文件和设置cookie时目录路径不一样就会检查失败。请问如何解决。
还有下面的参数能否仔细的解释一下
谢谢!!!!!!
特别不明白路径和域名这个参数
再次感谢!!!!!
int setcookie(string name, string value, int expire, string path,
string domain, int secure);
string name
cookie 的名字
string value
cookie 的值
int exprie
cookie 的有效期,标准的 Unix timestamp
string path,domain
cookie 的路径和域名
int serure
cookie 是否以安全的http方式传送