读取Cookie到期日期 [英] Reading cookie expiration date
本文介绍了读取Cookie到期日期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以使用JavaScript读取Cookie到期日期?
Is it possible to read cookie expiration date using JavaScript?
如果是,如何?
推荐答案
这是不可能通过一个cookie的过期日期Javascript;只有键值对通过 document.cookie
显示。
It is not possible to get the expiration date of a cookie through Javascript; only key-value pairs are exposed through document.cookie
.
这篇关于读取Cookie到期日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文