PHP session destroy Trying to destroy uninitialized session

后端 未结 3 1235
不知归路
不知归路 2021-01-29 00:10

I\'ve read several topics like:

Error — session_destroy() — Trying to destroy uninitialized session, Warning: session_destroy(): Trying to destroy uninitialized session

3条回答
  •  时光说笑
    2021-01-29 01:02

    Read This Answers of this question on stackoverflow
    why session destroy not working
    put this code in first and End of Your php File

    
    Your Code Here...
    
    


    Your calling session_destroy() twice.
    Or Removed All Sessions on server...

提交回复
热议问题