Home > Backend Development > PHP Tutorial > Session setting instructions_PHP tutorial

Session setting instructions_PHP tutorial

WBOY
Release: 2016-07-13 17:07:31
Original
1093 people have browsed it

[Session]
session.save_handler = files ; Control method for saving/retrieving data
session.save_path = C:win emp ; Parameters passed to the controller when save_handler is set to a file,
; This is the path where the data files will be saved.
session.use_cookies = 1 ; Whether to use cookies
session.name = PHPSESSID
; The name of the session used in cookies
session.auto_start = 0 ; Initialize session when request starts
session.cookie_lifetime = 0 ; It is the cookie storage time in seconds,
; or when it is 0, until the browser is restarted
session.cookie_path = / ; The effective path of the cookie
session.cookie_domain = ; Valid domain of cookie
session.serialize_handler = php ; Controller used to connect data
; php is the standard controller of PHP.
session.gc_probability = 1 ; Probability as a percentage that the 'garbage collection' process
will be started on each session initialization.
session.gc_maxlifetime = 1440 ; After the number of seconds indicated by the number here, the saved data will be considered
; 'garbage' and cleaned up by the gc process.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/630214.htmlTechArticle[Session] session.save_handler= files; Control method for saving/retrieving data session.save_path= C :winemp; Parameters passed to the controller when save_handler is set to a file, ; This is the data...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template