php session doesn't work

前端 未结 8 515
余生分开走
余生分开走 2021-01-22 18:57

How it should work: Index.php is the secured page. It includes check.php, which checks if you have a session = good. If it hasn\'t, you\'re not logged in -> log off, remove sess

相关标签:
8条回答
  • 2021-01-22 19:27

    You should verify you started the session in login.php.

    0 讨论(0)
  • 2021-01-22 19:29

    Put session_start(); in all the pages

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