I'm working with the IIS server variables to check the browser and......
This script:
<% Set bc = Server.CreateObject("MSWC.BrowserType")%>
<% if (bc.browser = "Default" Or "Netscape") then
Response.Redirect "browser.asp"
end if
set bc=nothing
%>
returns this error:
Microsoft VBScript runtime error '800a000d'
Type mismatch: '[string: "Netscape"]'
/Default.asp, line 3
And I have no clue why..... anyone have any insight?
Thanks in advance...