系统时间不对导致cookie设置不成功

Comments(14)


Posted on 2013-01-23 18:10:25 tornado


在测试一台服务器过程中,服务器上运行tornado。

但是客户的浏览器总是不能正确设置cookie,观察的效果为cookie无效。

已经排除代码和环境问题。

在复制文件的时候,文件系统报告文件时间戳不对。

于是检查系统时间,发现时间相差很大。

正确设置系统时间后,服务器工作正常。

总结: cookie设置后,浏览器接收到发现cookie的时间和本地时间相差太大,随舍弃此cookie。

前一篇: 常用iptables设置 后一篇: tornado长连接断开的处理机制

Captcha:
验证码

Email:

Content: (Support Markdown Syntax)


wb52T51Jm  2015-09-11 06:31:02 From 221.178.182.69

That’s not just logic. That’s really seeinbls.


EffereeJego  2020-04-20 22:27:02 From 127.0.0.1

online casinos http://casinorealmoneysoe.com/ - world class casino slots casino online slots play online casino free casino slot games


EffereeJego  2020-04-24 07:09:01 From 127.0.0.1

cashman casino slots http://onlinecasinogamespcx.com/ - free casino games casino play online casino games


EstillaspiltCow  2020-05-04 07:24:24 From 127.0.0.1

online casino gambling casino games online casino bonus casino blackjack


EstillaspiltCow  2020-05-06 10:55:40 From 127.0.0.1

slots online online casino real money online slot games casino online http://casinorealmoneyfdr.com/ - slots games free


EffereeJego  2020-05-06 16:57:46 From 127.0.0.1

casino play http://casinogamespqr.com/ - online casino bonus play slots online slot games casino blackjack


EstillaspiltCow  2020-05-19 12:03:44 From 127.0.0.1

buy cbd cdb oils hemp oil for pain cbd oil store


EstillaspiltCow  2020-05-20 07:47:59 From 127.0.0.1

cdb oils http://buycbdoilwalm.com/ cbd oil for pain cbd store cbd oil for pain


Attilfela  2021-11-12 19:52:06 From 127.0.0.1

Lasix


ErrofMoMa  2022-01-05 06:58:56 From 127.0.0.1

Vente De Cialis En Pharmacie viagra for women in australia Levitra Bayer Prospecto