php的session_start函数会附加header信息


Session_start会添加下面这些东西,所以你如果要改这些 header请在Session_start之后修改,否则会被session_start overwrite掉!

Cache-Control no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Expires Thu, 19 Nov 1981 08:52:00 GMT
Pragma no-cache
  1. No comments yet.
(will not be published)

  1. No trackbacks yet.