joined:Apr 26, 2007
Maybe someone knows how to do this or what is wrong. I am creating a web page which has ASP code to redirect the user if they are using a PPC or Mobile device. If they are, it redirects them to another page (mobile web site). That's working. Here's my problem. When I type the web address in Safari it's suppose to go to the normal web site and not to the mobile web site. Safari IS going to the mobile site. Is there a code I need to include so it doesn't redirect to the mobile site and just goes straight to the normal web page?
I tried adding
if Instr(userAgent, "mozilla") <= 0 then OR
if Instr(userAgent, "safari") <= 0 then
But that doesn't work.