Session variables not working php

后端 未结 10 1440
别跟我提以往
别跟我提以往 2020-11-22 03:12

Here are the code of my login page where the login script checks for the authenticity of the user and then redirects to inbox page using header function.

<         


        
10条回答
  •  迷失自我
    2020-11-22 04:06

    I was also facing the same problem i did the following steps to resolve the issue

    1. I edited the file /etc/php.ini and searched the path session.save_path = "/var/lib/php/session" you have to give your session info

    2 After that just changed the permission given below *chown root.apache /var/lib/php/session * That's it. These above steps resolve my issue

提交回复
热议问题