Why is “Expires” 1981?

后端 未结 4 666
被撕碎了的回忆
被撕碎了的回忆 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条回答
  •  旧时难觅i
    2020-12-03 04:49

    HTTP Expires header

    http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html

    It is set to negative or past value, to prevent caching of response.

    Quite common usage of this header.

提交回复
热议问题