今天在做的时候,以前都没有注意到这么一个问题,PHP的SESSION路径是要进行设置的.
; 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
-_-!!!!