Session settings _ PHP Tutorial

Source: Internet
Author: User
Session settings. [Session] session. save_handlerfiles; the control method used to save data retrieval session. save_pathC: winemp; the parameter passed to the controller when save_handler is set to a file; this is the data [Session]
Session. save_handler = files; control method for saving/retrieving data
Session. save_path = C: winemp; parameter passed to the controller when save_handler is set to a file,
; This is the path where the data file will be saved.
Session. use_cookies = 1; whether to use cookies
Session. name = PHPSESSID
The name of the session used in the cookie.
Session. auto_start = 0; initialize the session when the request starts.
Session. cookie_lifetime = 0; the time when the cookie is saved in seconds,
; Or 0 until the browser is restarted
Session. cookie_path =/; valid cookie path
Session. cookie_domain =; valid domain of the cookie
Session. serialize_handler = php; controller used to connect data
Php is the standard controller of PHP.
Session. gc_probability = 1; percentage of 'garbage collection (fragment) 'processes
; The possibility of starting each session initialization.
Session. gc_maxlifetime = 1440; after the number of seconds, the stored data will be treated
; 'Garbage 'and cleared by the gc process.

Reset session. save_handler = files; the control method used to save/retrieve data session. save_path = C: winemp; the parameter passed to the controller when save_handler is set to a file; this is the data...

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.