让程序设计者另辟蹊径,改用其它技术,不要依赖cookie 在使用Session ID的地方,使用代理脚本(user-agent script),通过服务器来判断,如果是一般是访问者,它需要设置cookie;如果是搜索引擎的爬行程序,那么它就不需要设置cookie了
基于24个网页-相关网页
The script starts by showing the user agent of the user's browser.
这个脚本的开头显示了用户浏览器的用户代理。
To change the User-Agent string, in the request header of the script, change the value that represents the Internet Explorer browser to the value that represents the wireless device
要在请求的脚本中更改这个 User-Agent 字符串值,就要将代表浏览器的值更改为代表无线设备的值
应用推荐