PDA

View Full Version : Need IE using to get another page..



Nug
October 11th, 2005, 14:09
I use Firefox, so when pepoel that use IE go in my site it looks wired..
PLz tell me how i can make IE uses to go to another ppage..

CamTech
October 11th, 2005, 21:09
go to www.javafile.com
they have alot of script that can do just this.

Nug
October 12th, 2005, 10:46
Thx m8..

nameslave
October 17th, 2005, 07:04
My take is that if you're a die-hard Firefox fan, why bother with those stupid IE users. But if your site is targeting mainstream business clients, start using IE yourself, and leave Firefox for the weekend. Just my two cents. :)

JoeRiker
October 17th, 2005, 10:00
In ASP i made the following codes, the function ISIEBrowser() enable IE, Netscape and some spider to be validated and deny the access to other browsers and spiders


function ISIEBrowser()
NEStmp = instr(Request.ServerVariables("HTTP_USER_AGENT"),"Netscape")
IEtmp = instr(Request.ServerVariables("HTTP_USER_AGENT"),"MSIE")
Spider1tmp = instr(Request.ServerVariables("HTTP_USER_AGENT"),"Googlebot")
Spider2tmp = instr(Request.ServerVariables("HTTP_USER_AGENT"),"msnbot")
Spider3tmp = instr(Request.ServerVariables("HTTP_USER_AGENT"),"SurveyBot")
if IEtmp > 0 or NEStmp > 0 or Spider1tmp > 0 or Spider2tmp > 0 or Spider3tmp > 0 then
ISIEBrowser = true
else
ISIEBrowser = false
end if
end function

if ISIEBrowser() = false then
sql="insert into tbl_browsers (browser) values ('" & Request.ServerVariables("HTTP_USER_AGENT") & "',)"
set rs = doquerys(sql)
Server.Transfer "CustomErrors/NoBrowserCompliance.asp"
end if

so if you see the site with FireFox you are redirected to /CustomErrors/NoBrowserCompliance.asp that tells you why you cannot enter the site...

you can modify it on your pourposes.

Alex

Nug
October 21st, 2005, 04:46
Thx all! I have just rerighten my site so IE user er welcome now:D