cookies 时间比较,老是出错!

WEB8888 2005-06-01 05:35:36
1.asp
response.Cookies("time")=time


2.asp
response.Write request.Cookies("time")>time

运行1.asp 10分钟后,再运行2.asp 出现true
...全文
66 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
位流 2005-06-01
  • 打赏
  • 举报
回复
有个好办法
repsponse.write time
response.write request.Cookies("time")

看看输出是什么再说


http://www.eob.cn/bbs
lovebanyi 2005-06-01
  • 打赏
  • 举报
回复
datediff函数来吧

28,406

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧