User cookie disorder. If the website uses cookies to record the user's id, A strange phenomenon occurs, that is, A sometimes displays B's information after logging on to the website. That is, the php server sets cookie disorder, but set the cookie that should have been set as a B. Has anyone ever encountered this situation? How can this problem be solved ?, It's not about cookie disorder. it's about your PHP program disorder. in normal cases, users' cookies are messy.
If the website uses cookies to record the user's id, A strange phenomenon occurs, that is, A sometimes displays B's information after logging on to the website. That is, the php server sets cookie disorder, but set the cookie that should have been set as a B. Has anyone ever encountered this situation? How can this problem be solved?
------ Solution --------------------
It's not cookie disorder, it's your PHP program disorder
------ Solution --------------------
Normally, this problem does not occur.
This situation may occur when you perform tests on different tabs of the same browser (this is abnormal ).
Multi-tab browsers regard cookit from the same domain name as one, regardless of
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