PHP session losing data between pages

后端 未结 2 1163
梦谈多话
梦谈多话 2021-01-03 01:28

I am trying to set up a login system for my website that requires someone to be logged in in order to post. I have set it up with sessions and it works great on my localhos

2条回答
  •  走了就别回头了
    2021-01-03 01:40

    I found the problem - the save directory for the PHP sessions was a root apache directory, and I'm runnin nginx fastcgi. I just changed the root permissions for the folder and it works. Thanks a ton for all of your help.

提交回复
热议问题