Q
|
How can I detect WAP devices and redirect to different pages?
|
A
|
Detecting WAP devices with BrowserHawk is easy. Here's a sample piece of code that detects WAP devices and redirects them to a special home page designed for WAP devices:
set bh = Server.CreateObject("cyScape.browserObj")
if bh.WAP = True then
response.redirect "/wap/home.asp"
end if
|