开发者

PHP session.save_path when using database

I've just moved to storing my sessions in a database. My PHP code uses session_set_save_handler() to supply the required functions and all seems to be ok. But do I need to change my php.ini as well? For e开发者_C百科xample, session.save_handler still has the value of "files". Also, do I still need to make sure that session.save_path points to a valid directory?

Thanks, Brian


If you use session_set_save_handler(), then no, you don't need to specify session.save_path

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜