我们还需要担心用户关闭cookie吗?
我注意到很多网站不再费心解决问题,因此关闭 cookie 的用户仍然可以在网站上获得相同的体验。这个问题在现代网络开发中已经消失了吗?我们是否已经到了没有人这样做、所以我们不需要费心的地步?
I've noticed that a lot of sites don't bother anymore with work-arounds so users who have turned their cookies off can still get the same experience on the site. Has that problem just gone away in modern web development? Have we gotten to a point where nobody does it, so we don't need to bother?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我想我把它与 JavaScript 归为同一类别。大多数人都会启用 cookie,但也有少数人将其关闭。不再像 90 年代中期那样担心邪恶的公司在网上跟踪您等。人们已经越来越接受网络的工作方式以及让网站记住您是谁的便利性所需的条件等。 。
I think I put this in the same category as JavaScript. Most people will have cookies enabled, but there will be a few people who have them turned off. There isn't the scare like there was in the mid 90s about evil corporations tracking you all over the net etc. People have become more accepting about how the web works and what is required to have the convenience of web sites remembering who you are etc.
有些人仍然时不时地关闭cookie。通常是因为他们想测试一些东西然后忘记把它们留下。如今,大多数网络应用程序都需要 cookie,因此我认为完全可以接受,无需使用复杂的解决方法来提供相同的用户体验(无论有无 cookie),您只需进行简单的检查和一条说明没有 cookie 的消息即可。用户将无法使用该网站。
有很多主要网站都采用这种方式。
Some people still turn off cookies every once in a while. Usually because they wanted to test something and then forget to leave them off. Nowadays most web apps require cookies on so I think it's perfectly acceptable that instead of complex workarounds to provide the same user experience with or without cookies you can live with just a simple check and a message stating that without cookies the user won't be able to use the site.
There are lots of major websites that behave this way.
我的 2c:cookie 默认是好的,而 Javascript 默认是邪恶的。
至于一般用户情绪是什么......我仍然会进行 Cookie 检测,以便您可以显示有意义的错误,而不是在您的用户出于某种原因阻止 Cookie 时简单地不起作用。不过,不要费心去解决它。
My 2c: cookies are good by default and Javascript is evil by default.
As to what general user sentiment is... I'd do cookie detection still so that you can display a meaningful error rather than simply not working if your users are blocking cookies for whatever reason. Don't bother trying to work around it though.
我猜测值得进行一次测试来具体查看您的访问者是否关闭了 cookie,因为不同的群体会遇到不同的问题。 (如果是偏执、安全限制等)与其他网站相比,为政府雇员提供服务的网站可能会看到更高的 cookie 不接受比例。
由于某些浏览器(或插件)允许按服务器或域自定义您对 cookie 的接受程度,因此,如果用户认为某个网站似乎可疑,那么即使是具有相同用户群体的两个网站也可能具有不同级别的“信任”。
I'm going to guess that it'd be worthwhile running a test to see specifically if your visitors have cookies turned off, because different groups would have different issues. (if it's paranoia, security restrictions, etc.) A website catering to government employees might see higher percentages of cookie non-acceptance than other sites.
As some browsers (or plugins) allow customizing your acceptance of cookies by server or domain, it's possible that even two sites with identical user populations might have different levels of 'trust', if the users believe that one site seems shady.