Why PHP session is deleted on page reload?

前端 未结 1 1425
逝去的感伤
逝去的感伤 2021-01-26 23:58

So I\'ve this problem that, when I\'m on the page not doing anything for some time, after I reload the page $_SESSION is cleared. I checked the code and it does not

相关标签:
1条回答
  • 2021-01-27 00:23

    Have you put de session_start() at the beginning of every page?

    0 讨论(0)
提交回复
热议问题