Q
|
If I want to test for browser versions less than or equal to 3 and redirect them to another page, but I do not want crawlers redirected. Must I also test specifically for crawlers or do the version properties some how account for crawlers or apply to them differently?
|
A
|
For crawlers, the version properties are set according to what version of the crawler it is. So for your purposes, you must explictly test for crawlers using the Crawler property if you do not want to issue redirects to crawlers based on your criteria.
For example, the following code will do what you are looking for:
if NOT bh.crawler and bh.majorver <=3 then
... redirect ...
end if
|