Requires Internet Explorer?

palehorse

Active member
Joined
Jan 28, 2005
Messages
34
Programming Experience
1-3
Hello guys/gals,

I am trying to figure out how to get my site to require Internet Explorer for a certain page - but can't seem to get it right. I have tried something to the effect of:

VB.NET:
[size=2][color=#0000ff]If [/color][/size][size=2][color=#0000ff]Not[/color][/size][size=2] Request.UserAgent = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)" [/size][size=2][color=#0000ff]Then
[/color][/size][size=2]  Response.Redirect("browser_error.htm") 
[/size][size=2][color=#0000ff]End [/color][/size][size=2][color=#0000ff]If[/color][/size]
[size=2][color=#0000ff]
[/color][/size]
But this doesn't work for everyone who is already running IE - can anyone help me on this?

Thank you,

Scott
 
Top Bottom