Home >Backend Development >PHP Tutorial >thinkphp url_model and session issues

thinkphp url_model and session issues

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-07-06 13:51:21971browse

There is a project that does not configure the url_model value by default. It should use the pathinfo mode. I found that after logging in, I cannot get the session value on the homepage. After changing the url_model to 3, it is ok to use the compatibility mode. Why is this? And there is a strange phenomenon. When url_model is 1, Firefox can access the project normally, but Google IE cannot

Local testing is also no problem, the server environment is centos6.5, Nginx apache

Reply content:

There is a project that does not configure the url_model value by default. It should use the pathinfo mode. I found that after logging in, I cannot get the session value on the homepage. After changing the url_model to 3, it is ok to use the compatibility mode. Why is this? And there is a strange phenomenon. When url_model is 1, Firefox can access the project normally, but Google IE cannot

Local testing is also no problem, the server environment is centos6.5, Nginx apache

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