KnightCoder
Programmer
Hi guys i am having problem with my ASP script.
i have this code
Set MyBrow=Server.CreateObject("MSWC.BrowserType"
if (MyBrow.javascript = False) then
response.redirect("nojavascript.asp"
end if
to see if the incoming broswer has javascript enabled
this works fine with IE but when i try with netscape and turn off javascript. it say javascript = true.
when it should be false.
Is it beacuse the MSWC.BrowserType object that i am creating is only looking at IE preferences?
if so,
is their a generic object for netscape and IE that i can create to see if the browser being used has javascript enabled?
Thanks in advance!
i have this code
Set MyBrow=Server.CreateObject("MSWC.BrowserType"
if (MyBrow.javascript = False) then
response.redirect("nojavascript.asp"
end if
to see if the incoming broswer has javascript enabled
this works fine with IE but when i try with netscape and turn off javascript. it say javascript = true.
when it should be false.
Is it beacuse the MSWC.BrowserType object that i am creating is only looking at IE preferences?
if so,
is their a generic object for netscape and IE that i can create to see if the browser being used has javascript enabled?
Thanks in advance!