PHP creating new session with each reload

后端 未结 5 671
无人及你
无人及你 2021-01-18 06:02

For my website, session management mostly works ok. Sessions are created, saved and used later without problems.

But when the code is using session_start(), it alway

5条回答
  •  感情败类
    2021-01-18 07:07

    I'd hate to be the stick in the mud, but have you checked that /tmp is both readable and writeable by PHP (in most cases, this means the www-data user)? If not, move the session save location to a location that you can write to.

提交回复
热议问题