Home >Backend Development >PHP Tutorial >session存储在数据库和memcache中的有关问题

session存储在数据库和memcache中的有关问题

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-13 11:12:181058browse

session存储在数据库和memcache中的问题
在往数据库和memcache中存session信息时出现下面的警告,信息存不进去,这个问题怎么解决
Warning: Invalid callback Session_mem::write, class 'Session_mem' not found in Unknown on line 0

Warning: Unknown: Failed to write session data (user). Please verify that the current setting of session.save_path is correct (C:/temp) in Unknown on line 0

Warning: Invalid callback Session_mem::close, class 'Session_mem' not found in Unknown on line 0


------解决方案--------------------
Session_mem 這個class找不到
確認一下PHP.INI的 session.save_path的值
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn