和你的问题相关的帖子:http://expert.csdn.net/Expert/topic/2507/2507961.xml?temp=.7708399 下面是手册里的http://www.phpe.net/manual/function.session-save-path.php------------- session_save_path (PHP 4 )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.
下面是手册里的http://www.phpe.net/manual/function.session-save-path.php-------------
session_save_path
(PHP 4 )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.
session系列函数的作用我贴上来了,供大家参考若有不明白的地方请提出来在这里我们一起把SESSION的问题解决掉,session_decode: Session 资料解码。
session_destroy: 结束 session。
session_encode: Session 资料编码。
(编码以 ZEND 引擎做杂凑编码。本函式没有参数。成功则传回 true 值。)
session_id: 存取目前 session 代号。
session_is_registered: 检查变数是否注册。
session_module_name: 存取目前 session 模组。
session_name: 存取目前 session 名称。
session_register: 注册新的变量。
session_save_path: 存取目前 session 路径。
session_start: 初始 session。
session_unregister: 删除已注册变量。