有没有在最开头加上session_start()?
解决方案 »
- 基于PHP和MySQL的简单Blog系统
- php获取MYSQL VIEW数据
- 求大神帮忙,CI访问restful问题
- 大学三年级,现在有个游戏网站要我去做兼职写php 大家给看看 我一个月要多少钱合适啊
- ==为显示数据库记录的问题郁闷两天了==高分请教啊!我是cai
- 怎么每次都存成*.xls[1]文件?
- 各位帅哥,过来看看我的下拉框是怎么回事
- 请问在PHP中,如果知道2002-02-12这种格式的日子,怎么得到他的前一天和后一天。
- 各位大侠帮帮忙吧,关于session的问题---急!急!急!
- 关于session的问题!(新手问题!!!!)
- 在线等待!关于怎样读取记录的问题
- smarttemplate中能assign参数吗?
2.看看服务器的session.save_path的设置。
那为什么还有session.use_cookies = 1?
session
Session Support enabled
Registered save handlers
2.session_save_path
(PHP 4 , PHP 5)session_save_path -- Get and/or set the current session save path
Description
string session_save_path ( [string path])
session_save_path() returns the path of the current directory used to save session data. If path is specified, the path to which data is saved will be changed. session_save_path() needs to be called before session_start() for that purpose. 注: On some operating systems, you may want to specify a path on a filesystem that handles lots of small files efficiently. For example, on Linux, reiserfs may provide better performance than ext2fs.
See also the session.save_path configuration directive.