机器人/蜘蛛可以利用饼干? [英] Can Bots/Spiders utilize Cookies?

查看:146
本文介绍了机器人/蜘蛛可以利用饼干?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想检测的访问者是人或没有。我只是有一个想法,但不知道这是否会工作或没有。但如果我可以存储在浏览器的人一个cookie和检索,当他们在浏览我的网站。如果我成功地检索cookie可能这是一个很好的技术检测机器人和蜘蛛?

I am trying to detect is a visitor is human or not. I just got an idea but not sure if this will work or not. But if I can store a cookie on the persons browser and retrieve it when they are browsing my site. If I successfully retrieve the cookie can this be a good technique to detect bots and spiders?

推荐答案

一个精心设计的机器人或蜘蛛肯定可以存储 - 送你回来 - 你发送任何的Cookie。所以,不,这种技术不会帮助一个位。

A well-designed bot or spider can certainly store -- and send you back -- whatever cookies you're sending. So, no, this technique won't help one bit.

这篇关于机器人/蜘蛛可以利用饼干?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆