The session is stored in Redis, which is a lot more records.

Source: Internet
Author: User
Keywords Php redis session

I changed it in the php.ini.

session.save_handler = files    ->    session.save_handler = redissession.save_path = "/tmp"    ->    session.save_path = "tcp://127.0.0.1:6379"

After the changes have been visited, there are so many more fields, but there are no values.
As follows:

What the hell is this thing?

I'm sorry I didn't speak clearly. These things are saved without access, I have no access to the server at all, and there are three more.

By the way, can the session set up automatically be released at the end? Will the expiration date be automatically deleted?

Reply content:

I changed it in the php.ini.

session.save_handler = files    ->    session.save_handler = redissession.save_path = "/tmp"    ->    session.save_path = "tcp://127.0.0.1:6379"

After the changes have been visited, there are so many more fields, but there are no values.
As follows:

What the hell is this thing?

I'm sorry I didn't speak clearly. These things are saved without access, I have no access to the server at all, and there are three more.

By the way, can the session set up automatically be released at the end? Will the expiration date be automatically deleted?

session_id

You look at Phpini inside the Session.autostart configuration is what.
If this configuration is 1, you do not call the Session_Start system will automatically help you call will generate session ID, you do not save things, naturally is empty

You can view the configuration of the session (http://php.net/manual/zh/session.configuration.php) for detailed information
The session default is the probability of triggering GC, that is, garbage collection
If the session has expired, but does not trigger the GC, then there will be, wait until the next GC to delete

As you said, no access to the server more than a few records, you are looking carefully, indeed happened to visit

PHP should have been triggered, as if something else was triggering on the Mac.

  • 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.