画面在操作的情况下,一样计算时间。给timeout掉了。为什么?
是哪里设置错误?
下面是php.ini的session配置部分。。。还请各位大虾帮着解决以下。。。
[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 as:
;
; 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 to
; 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 to
; 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.
