Q
|
I want to serve the same content to Mozilla/Gecko browsers as I currently serve to IE 6 users. How can I do this?
|
A
|
This can be easily accomplished by using the new Gecko property found in BrowserHawk 6, like this:
set bh = Server.CreateObject("cyscape.browserObj")
if (bh.Browser="IE" AND bh.Version >= 6) OR bh.Gecko = True then
... content for IE 6 and Gecko go here ...
else
... content for all other browsers (or a redirect) goes here ...
end if
Note that this requires BrowserHawk 6 or later and version 6.01 or later of the BDF.
|