只允许cookies进行安全传输
作者:virushuo 发表于 2005-11-16 19:11 最后更新于 2005-11-16 19:11
版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本声明。
http://blog.devep.net/virushuo/2005/11/16/cookies-setsecure-true.html
版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本声明。
http://blog.devep.net/virushuo/2005/11/16/cookies-setsecure-true.html
setSecure(true);
给cookie设置了这个属性,就只有https连接才会让浏览器保存cookie,http连接会丢弃掉。可以增强cookie的安全性,



