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.