Why is there a problem with the php session? Thank you for your help? Previously, it was okay, but after modification, session. save_path = "D:/session"
This is the case. please help me. thank you!
Reply to discussion (solution)
In session? Before the start, there were ??? Out, first? Check your generation? Put ?? Exclude
Check whether the session directory in drive d exists.
D:/does the session exist? Limit ??
In session? Before the start, there were ??? Out, first? Check your generation? Put ?? Exclude
It can be used before the session is changed. the code has not been changed. if there is no output before, a header (...) is returned (.....)
Session files exist on disk D.
The permission is root.
Why modify the value of session. save_path? try again.
Why modify the value of session. save_path? try again.
What is the default value? Forgot.
The default value of session. save_path is/tmp, which is the temporary file directory of the operating system.
You can leave this parameter unspecified (comment out session. save_path)
If this parameter is set, you must ensure that the directory has full control permissions for general users.
This can occur in all files with session_start (). you can remove session_start. I can't comment out the configuration file and change "D:/session" to/tmp. what's wrong? No problem in the past?
It seems that no output exists before session_start,
It seems that no output exists before session_start,
There is no output before. it can be used in the past and cannot be used now. I don't know if the path of the session has been changed.