Why is “Expires” 1981?

后端 未结 4 665
被撕碎了的回忆
被撕碎了的回忆 2020-12-03 04:39

My CRON Job returned an error that CRON job did not work. In that this was there:

Set-Cookie: PHPSESSID=2t2drultihqc         


        
4条回答
  •  南笙
    南笙 (楼主)
    2020-12-03 04:57

    Somebody just put expires = date('-30 years') (paraphrased) in his code to make really sure the content is set as expired and not cached.

提交回复
热议问题