PHPSessionTimeOut-php Tutorial

Source: Internet
Author: User
The problem of PHPSessionTimeOut occurs when the image is operated, and the calculation time is the same. Timeout. Why? Where is the setting error? The Session configuration section of PHP. ini is as follows... Please help solve the following problems... [Session]; & nbsp; Handler & nbsp; used & nbsp; to & nbsp; storeretr PHP SessionTimeOut
When the image is operated, the same time is calculated. Timeout. Why?
Where is the setting error?
The Session configuration section of PHP. ini is as follows... Please help solve the following problems...


[Session]
; Handler used to store/retrieve data.
Session. save_handler = files

; Argument passed to save_handler. In the case of files, this is the path
; Where data files are stored. Note: Windows users have to change this
; Variable in order to use PHP's session functions.
;
; As of PHP 4.0.1, you can define the path:
;
; Session. save_path = "N;/path"
;
; Where N is an integer. Instead of storing all the session files in
;/Path, what this will do is use subdirectories N-levels deep, and
; Store the session data in those directories. This is useful if you
; Or your OS have problems with lots of files in one directory, and is
; A more efficient layout for servers that handle lots of sessions.
;
; NOTE 1: PHP will not create this directory structure automatically.
You can use the script in the ext/session dir for that purpose.
; NOTE 2: See the section on garbage collection below if you choose
; Use subdirectories for session storage
;
; The file storage module creates files using mode 600 by default.
; You can change that by using
;
; Session. save_path = "N; MODE;/path"
;
; Where MODE is the octal representation of the mode. Note that this
; Does not overwrite the process's umask.
; Session. save_path = "/tmp"

; Whether to use cookies.
Session. use_cookies = 1

; Session. cookie_secure =

; This option enables administrators to make their users invulnerable
; Attacks which involve passing session ids in URLs; defaults to 0.
; Session. use_only_cookies = 1

; Name of the session (used as cookie name ).
Session. name = sessionName

; Initialize session on request startup.
Session. auto_start = 1

; Lifetime in seconds of cookie or, if 0, until browser is restarted.

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.