首頁 後端開發 php教程 PHP SessionTimeOut的有关问题

PHP SessionTimeOut的有关问题

Jun 13, 2016 pm 01:46 PM
nbsp path session the this

PHP SessionTimeOut的问题
画面在操作的情况下,一样计算时间。给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.

本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn

熱門文章

R.E.P.O.能量晶體解釋及其做什麼(黃色晶體)
2 週前 By 尊渡假赌尊渡假赌尊渡假赌
倉庫:如何復興隊友
4 週前 By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island冒險:如何獲得巨型種子
3 週前 By 尊渡假赌尊渡假赌尊渡假赌

熱門文章

R.E.P.O.能量晶體解釋及其做什麼(黃色晶體)
2 週前 By 尊渡假赌尊渡假赌尊渡假赌
倉庫:如何復興隊友
4 週前 By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island冒險:如何獲得巨型種子
3 週前 By 尊渡假赌尊渡假赌尊渡假赌

熱門文章標籤

記事本++7.3.1

記事本++7.3.1

好用且免費的程式碼編輯器

SublimeText3漢化版

SublimeText3漢化版

中文版,非常好用

禪工作室 13.0.1

禪工作室 13.0.1

強大的PHP整合開發環境

Dreamweaver CS6

Dreamweaver CS6

視覺化網頁開發工具

SublimeText3 Mac版

SublimeText3 Mac版

神級程式碼編輯軟體(SublimeText3)

解決方法:您的組織要求您更改 PIN 碼 解決方法:您的組織要求您更改 PIN 碼 Oct 04, 2023 pm 05:45 PM

解決方法:您的組織要求您更改 PIN 碼

Windows 11 上調整視窗邊框設定的方法:變更顏色和大小 Windows 11 上調整視窗邊框設定的方法:變更顏色和大小 Sep 22, 2023 am 11:37 AM

Windows 11 上調整視窗邊框設定的方法:變更顏色和大小

如何在 Windows 11 上變更標題列顏色? 如何在 Windows 11 上變更標題列顏色? Sep 14, 2023 pm 03:33 PM

如何在 Windows 11 上變更標題列顏色?

OOBELANGUAGE錯誤Windows 11 / 10修復中出現問題的問題 OOBELANGUAGE錯誤Windows 11 / 10修復中出現問題的問題 Jul 16, 2023 pm 03:29 PM

OOBELANGUAGE錯誤Windows 11 / 10修復中出現問題的問題

Windows 11 上啟用或停用工作列縮圖預覽的方法 Windows 11 上啟用或停用工作列縮圖預覽的方法 Sep 15, 2023 pm 03:57 PM

Windows 11 上啟用或停用工作列縮圖預覽的方法

Windows 11 上的顯示縮放比例調整指南 Windows 11 上的顯示縮放比例調整指南 Sep 19, 2023 pm 06:45 PM

Windows 11 上的顯示縮放比例調整指南

10種在 Windows 11 上調整亮度的方法 10種在 Windows 11 上調整亮度的方法 Dec 18, 2023 pm 02:21 PM

10種在 Windows 11 上調整亮度的方法

如何在Safari中關閉iPhone的隱私瀏覽身份驗證? 如何在Safari中關閉iPhone的隱私瀏覽身份驗證? Nov 29, 2023 pm 11:21 PM

如何在Safari中關閉iPhone的隱私瀏覽身份驗證?

See all articles