PHP Cookie session dig a bit

Source: Internet
Author: User

When a user accesses the Web (www.96net.com.cn) in a browser, the server opens the Session_Start () server TMP temp directory automatically generated session_id and put back to create a cookie to save SessionID (saved in the browser, no file stored), you can set the cookie expiration time, close the browser cookie SessionID invalid session stored in the TMP directory, you can set the expiration time, there is a random recovery mechanism to delete SessionID when the cookie is disabled, Session can be passed via URL SessionID

PHP Cookie session dig a bit

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.