页面存入cookie 跳转后失效 在网站某个页面存入cookie(不指定时间,主要是为了关闭浏览器使其失效),点击链接后,跳转到的页面取不到值,原因有可能是未指定cookie的path。domain和path都要指定。