thinkphp, 在模块中的方法间跳转后session值会被清空是为何?如何解决

WBOY
Release: 2016-06-13 12:54:29
Original
995 people have browsed it

thinkphp, 在模块中的方法间跳转后session值会被清空是为何?怎么解决?
thinkphp, 在模块中的方法间跳转后session值会被清空是为何?怎么解决?
我在做一个登陆的功能,在登陆前判断session的某个值是否为空,若为空则还跳转到登陆页面,若不为空则进入到下一个页面当中。但是在跳转后session值就无故被清空了是怎么回事?该怎么解决撒?

session thinkphp
------解决方案--------------------
thinkphp 提供了自己的 session 处理方法,请使用
Related labels:
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!