Session 和cookie的学习 cookie cookie的建立 setcookie(name,value); setcookie(name,value,expiration,path,host,secure,httponly); /* expiration 到期时间 path路径 host 主机 secure 安全值 1必须通过安全连接 */ cookie的删除 setcookie(name,value,time()-3600,path,host,secure,httponly) 设到期…