和你的问题相关的帖子: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文件保存在当前文件夹,就是你的php脚本所在的文件夹
请问有没有中文的PHP手册啊?我查过php_manual_zh手册可惜是英文的,看不懂。