h5页面cookie丢失的问题(似乎是特定版本的chrome内核造成的)

小游戏 企业微信 微信支付 小程序 文章 2020-07-30 21:09 747 0 全屏看文

AI助手支持GPT4.0

h5页面cookie丢失的问题(似乎是特定版本的chrome内核造成的)

我在做企业微信工作台h5应用,认证后下发cookie,有些手机再次请求时会丢失cookie。我特意写了一个测试页: https://e.3duyun.cn/cookietest/ 。 源码托管在github上:https://github.comeo20/cookietest

请技术人员查一下。目前我测试的不多。只收集到一个UA会出现这类错误:

Mozilla/5.0 (Linux; Android 9; vivo X21UD A Build/PKQ1.180819.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/66.0.3359.126 MQQBrowser/6.2 TBS/045008 Mobile Safari/537.36 wxwork/3.0.25 MicroMessenger/7.0.1 NetType/WIFI Language/zh Lang/zh

似乎chrome内核版本:66.0.3359.126会出现这个问题。 因为这台手机的微信Chrome内核是:77.0.3865.120,能正常打开。

另外:怎么升级企业微信的chrome内核

I am working on the H5 application of enterprise wechat workbench. After authentication, I send out cookies. Some mobile phones will lose the cookies when they request again. I specially wrote a test page: https://e.3duyun.cn/cookietest/ 。 The source code is hosted on GitHub https://github.comeo20/cookietest Ask the technician to check. I don't test much at the moment. This kind of error occurs when only one UA is collected: Mozilla / 5.0 (Linux; Android 9; vivo x21ud a build / pkq1.180819.001; WV) applewebkit / 537.36 (KHTML, Like gecko) version / 4.0 Chrome / 66.0.3359.126 mqqbrowser / 6.2 TBS / 045008 mobile Safari / 537.36 wxwork / 3.0.25 micro messenger / 7.0.1 nettype / WiFi language / zh Lang / zh it seems that chrome kernel version: 66.0.3359.126 will have this problem. Because the wechat chrome kernel of this mobile phone is: 77.0.3865.120, which can be opened normally. In addition: how to upgrade the chrome kernel of enterprise wechat

回答:

企业微信运营专员-千夜:

您好,目前是不支持的,如果升级内核,需要客户端的开发人员专门处理,然后发版本才可以

-EOF-

AI助手支持GPT4.0