用phpinfo()测试一下,看看session时间设置.
再看看php.ini文件在哪里,用phpinfo()可以测到,然后改时间设置,重启再试.
再看看php.ini文件在哪里,用phpinfo()可以测到,然后改时间设置,重启再试.
解决方案 »
- 何写才能将session写对啊??
- 祝我生日快乐o(∩_∩)o...
- 如何解决这种phpmyadmin 2.7.0-pl1出错
- php中Session问题,高分求教。急用、在线等!!!!!!!!!!!!!!!!!!!!!
- 怎样找我的IP
- 急急急!!!!!!!!!!
- 最简单的遍历数组的方法是什么?
- 从<text>中读入的文本,进入数据库后,再重新显示到页面里不能显示回车的问题!!
- 专家称PHP语言漏洞是产生严重网络病毒的温床(都升级到4.1.2没有?Win32的还没有4.1.2版本)
- php modules 无法生成models的loginForm
- mb库、gd库不安全么?
- Method Not Allowed 这个错误是什么原因造成的??怎么解决??
(PHP 4 >= 4.2.0, PHP 5)session_cache_expire -- Return current cache expire
Description
int session_cache_expire ( [int new_cache_expire] )
session.gc_maxlifetime = 120
; cleaned up by the garbage collection process.
session.gc_maxlifetime = 120