473,414 Members | 1,738 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,414 software developers and data experts.

Require IE 5+ or Redirect

I have a bunch of pages that host controls that work only on uplevel
browsers. While most of my users have IE6, I'd like to know how to detect
the browser they are actually connecting with and redirect them to an
alternative page when they connect with a non IE browser.

I googled for this and must not have known the right keywords to use... got
a bunch of stuff about browserhawk and other such nonsense... I thought
there'd be a generally accepted and well-known simple way to do this with
asp.net. I'd sure appreciate some help on this.

Thanks.
Nov 18 '05 #1
4 1236
Maybe JavaScript could help in such a case!
GDLUCK!

"Guadala Harry" wrote:
I have a bunch of pages that host controls that work only on uplevel
browsers. While most of my users have IE6, I'd like to know how to detect
the browser they are actually connecting with and redirect them to an
alternative page when they connect with a non IE browser.

I googled for this and must not have known the right keywords to use... got
a bunch of stuff about browserhawk and other such nonsense... I thought
there'd be a generally accepted and well-known simple way to do this with
asp.net. I'd sure appreciate some help on this.

Thanks.

Nov 18 '05 #2
On Sun, 3 Oct 2004 18:42:01 -0700, Guadala Harry wrote:
I have a bunch of pages that host controls that work only on uplevel
browsers. While most of my users have IE6, I'd like to know how to detect
the browser they are actually connecting with and redirect them to an
alternative page when they connect with a non IE browser.

I googled for this and must not have known the right keywords to use... got
a bunch of stuff about browserhawk and other such nonsense... I thought
there'd be a generally accepted and well-known simple way to do this with
asp.net. I'd sure appreciate some help on this.

Thanks.


Hi Harry,
You can use the Request.Browser information to check for this on the server
side. Much easier than javascript.

/Hugo
Nov 18 '05 #3
Yes and thank you. I also found the HttpBrowserCapabilities class and
"rolled my own" solution that works great. I knew it had to be easier in
..NET.

-GH
"Hugo Wetterberg" <hu*************@smi.mas.lu.se> wrote in message
news:dj*****************************@40tude.net...
On Sun, 3 Oct 2004 18:42:01 -0700, Guadala Harry wrote:
I have a bunch of pages that host controls that work only on uplevel
browsers. While most of my users have IE6, I'd like to know how to detect the browser they are actually connecting with and redirect them to an
alternative page when they connect with a non IE browser.

I googled for this and must not have known the right keywords to use... got a bunch of stuff about browserhawk and other such nonsense... I thought
there'd be a generally accepted and well-known simple way to do this with asp.net. I'd sure appreciate some help on this.

Thanks.
Hi Harry,
You can use the Request.Browser information to check for this on the

server side. Much easier than javascript.

/Hugo

Nov 18 '05 #4
the reason you see references to browserhawk and simular, is the the .net
browser detection is so weak. its based solely on the user agent string. (a
header sent by the browser - not the most accurate).

for example, the .net browser detection also does not detect if javascript
is turned off, thus disabling grid paging, hypertext links, etc.
-- bruce (sqlwork.com)

"Guadala Harry" <GM**@NoSpam.com> wrote in message
news:eM**************@TK2MSFTNGP11.phx.gbl...
Yes and thank you. I also found the HttpBrowserCapabilities class and
"rolled my own" solution that works great. I knew it had to be easier in
.NET.

-GH
"Hugo Wetterberg" <hu*************@smi.mas.lu.se> wrote in message
news:dj*****************************@40tude.net...
On Sun, 3 Oct 2004 18:42:01 -0700, Guadala Harry wrote:
I have a bunch of pages that host controls that work only on uplevel
browsers. While most of my users have IE6, I'd like to know how to detect the browser they are actually connecting with and redirect them to an
alternative page when they connect with a non IE browser.

I googled for this and must not have known the right keywords to use...
got
a bunch of stuff about browserhawk and other such nonsense... I
thought there'd be a generally accepted and well-known simple way to do this

with asp.net. I'd sure appreciate some help on this.

Thanks.


Hi Harry,
You can use the Request.Browser information to check for this on the

server
side. Much easier than javascript.

/Hugo


Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Bob Garbados | last post by:
forgive my ignorance, as I'm new to php coming from a ms background... If I create a page named redirect.php and it's only content is: <?php header("Location: http://www.google.com"); ?>...
5
by: Steve Lutz | last post by:
Hello, I have a page that creates a class, and then on certain conditions, redirects user to another page. The class has a Class_Terminate() function that saves itself to a database. The class...
7
by: Donna Hawkins | last post by:
I want to use javascript to redirect to a URL which has been passed as a variable (in php). I have searched but cannot find any solution. I think this code is a basic redirect: <script...
3
by: Justin | last post by:
Hi, Im confused here over the usage of Response.Redirect and Server.Transfer. I used frameset for my work, what are the proper usages of the two methods that seems working similar.. The...
6
by: Peter Row | last post by:
Hi, I am writing a DLL in VB.NET that implements IHttpHandler.ProcessRequest. This code calls a sub and I need to know if that sub did a response redirect or not. Specifically I need to know...
31
by: Yeah | last post by:
Is it absolutely necessary to include "http://" in an A HREF hyperlink? Would it be wise to remove this from one's Links page, just to save code?
5
by: venner | last post by:
I'm having an issue with an ASP.NET website after upgrading to ASP.NET 2.0. The website makes use of a central authentication service (CAS) provided at the university I work for. Each page checks...
1
by: lister | last post by:
Hi all, Just wondering whether there was any standard way of serving up a new page to the browser when the user has submitted the current page. Currently I: 1) Process any user submitted data...
10
by: Eirik Eldorsen | last post by:
How can I 301 redirect www.example.com/default.aspx to www.example.com without using ISAPI filters?
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.