PHP session related issues, how to get back? Rookie, please help me thank you

Source: Internet
Author: User
Tags php session
There is a problem with PHP session, how do you get back? Beginner, would you please help me?



I used to, but after we changed it, Session.save_path = "D:/session"
This is the case, but also ask you to help the great God, thank you!
------to solve the idea----------------------
Before the start of the session, please check your code to get rid of the wrong mistake.
------to solve the idea----------------------
Please check if the Session directory is present under the D drive.

------to solve the idea----------------------
Does the d:/session exist and have rights to write?
------to solve the idea----------------------
Why change the value of Session.save_path, change back to try.
------to solve the idea----------------------
The default value for Session.save_path is/tmp, which is the temporary file directory of the operating system
Can not be set (comment out Session.save_path)

If set, you must ensure that the directory has full control of the general user
------to solve the idea----------------------
It seems that there is no output in front of session_start ()
  • Related Article

    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.