How can I solve php session problems? Cainiao. thank you for your help.

Source: Internet
Author: User
Why is there a problem with the php session? Thank you for your help? It can be used in the past, but after it is changed here & nbsp; session. save_path & nbsp; D: This is the case with session. please help me. thank you! ------ Solution ----------- php session problems, how can this problem be solved? 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!
------ Solution ----------------------
Before the start of the session, there will be timed out. First, check your token to exclude the timed out.
------ Solution ----------------------
Check whether the session directory in drive d exists.

------ Solution ----------------------
D:/does the session exist and has the permission to renew it?
------ Solution ----------------------
Why modify the value of session. save_path? try again.
------ Solution ----------------------
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.
------ Solution ----------------------
It seems that no output exists before session_start,

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.