PHP Session not Saving

前端 未结 9 1107
情话喂你
情话喂你 2020-12-03 17:39

I have this written at the very first line on every page of my website.

include(\"restd.php\");

and restd.php contains the following lines

9条回答
  •  醉酒成梦
    2020-12-03 17:48

    In my case I forgot that I had the PHP flag session.cookie_secure set to on, while the development environment was not TLS-secured.

    More information about Session/Cookie parameters.

提交回复
热议问题