\n
今天在做的时候,以前都没有注意到这么一个问题,PHP的SESSION路径是要进行设置的.
\n
; 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.
;session.save_path = /tmp
session.save_path = D:/php/session
\n
来源:网络
\n