服务器2003 apache php codeigiter框架访问无法cookie写入

WBOY
Release: 2016-06-23 13:44:27
Original
758 people have browsed it

我在本地测试cookie正常,session也正常,放到服务器server2003 apache php5.2.6上面在服务器上运行也正常,就是服务器外面无法cookie写入,session也无法写入,请高手指点下方向,感谢~~~~


回复讨论(解决方案)

php.ini 的session路径不对。或者没有权限导致session无法写入。更改一下。赋值权限。就ok了。具体问度娘

$config['encryption_key'] = 'session';这个必须设置吧

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!