PHP ending sessions(different ways) i dont understand

后端 未结 2 921
轻奢々
轻奢々 2020-12-18 09:53

I\'m trying to understand sessions and how some of the functions to end them work. I\'ve gone to different sites/and even here on SO and, well essentially, nothing is workin

2条回答
  •  情歌与酒
    2020-12-18 10:18

    You are missing a session_start() at the top of your logout page. It's trying to modify a session that doesn't exist!

提交回复
热议问题