Thank you! Why does the browser lose the cookie?

Source: Internet
Author: User

ProblemDescription:
Recently, users often lose cookies when using gosurf. Ask me if I have made some wrong modifications in the kernel. I have no idea after checking for a long time. The only difference is that I only load the gosurf user ID (User Agent) at runtime ). Search for articles about Cookie loss on the Internet, most of which are directed to the most popular discuz forum in China. The technical staff of the site also explained: Because the Cookie's validity period and scope cause loss, you need to modify the forum settings to solve the problem. But in fact, when the discuz forums on my machine are crazy about Cookie loss, the vBB and IPB forums outside China are safe. So I think the official statement is incorrect and I did some research.

Actual situation:
Research found that the discuz Forum program has such a solution in terms of website security. If securityid changes, the original cookie is deleted and the user is prompted to log on again. The SID calculates the user ID and other variables. Once the user ID changes, the Sid will change accordingly, resulting in the deletion of the cookie in the discuz Forum error. If you frequently switch between MSIE and gosurf (including other shell browsers), this problem may easily occur. (Note: I only checked the discuz V5.0 code)

Solution:
There are also some temporary solutions. For example, use a browser that is fixed or does not actively Add User tags. Like Firefox, you can also use a cookie system that is different from MSIE. However, to solve this problem, we still hope that the discuz forum will respond. The discuz forum is undoubtedly one of the best forum programs in China. It may be for security reasons, but such a design is inadequate. I don't know if they have other considerations. Although the shell browser is not a regular army, its market share must be recognized. Therefore, the compatibility of various browsers as much as possible should be fully considered during product design.

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.