In the server under the little brother I log in to write the session succeeded but refresh one, the session is lost in the local good. Have you ever met? Oh
Source: Internet
Author: User
On the server I log in to write the session succeeded but refresh, the session is lost in the local good. Have you ever met? Oh
On the server I log in to write the session succeeded but refresh, the session is lost in the local good. Have you ever met?
I don't know what the problem is out there.
I put the session in the database, after the successful landing, look at the data table, there is a record. Also has the value, when I refresh the page, in the look at the data table,
See that the session value is emptied and a lot of records without data are inserted. Those records only SessionID have no value.
However
When I was in the local test, there was only one record SessionID and the value no matter how the refresh is only this one.
That's the same procedure.
Server OS + nginx
Local Windows+apache
The same version of PHP.
------Solution--------------------
What's the reason for sharing?
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service