Solved

IE <-|-> Netscape Redirect

Posted on 2000-05-05
4
237 Views
Last Modified: 2012-06-27
Can someone give me a script that when a user logs onto a page, it will find out what browser they are using and redirect them to another page?

for example

If browser = IE then
      goto "ie.asp"
if browser = Netscape then
      goto "netscape.asp"

This is needed for >= 3.0 browsers
thanks

0
Comment
Question by:thunderchicken
  • 2
4 Comments
 
LVL 1

Expert Comment

by:ManoloMA
ID: 2781135
Try this:

<%
If browser = IE then
      response.redirect "ie.asp"
elseif browser = Netscape then
      response.redirect  "netscape.asp"
end if

%>

Manolo
0
 
LVL 4

Accepted Solution

by:
fruey earned 50 total points
ID: 2781138
How about this;

http://webreference.com/dhtml/diner/browsvars/

The lowdown on all kinds of browser detection issues.
0
 
LVL 11

Author Comment

by:thunderchicken
ID: 2781498
Seems like this will work for me, many links for me to play around with... thanks!
0
 
LVL 4

Expert Comment

by:fruey
ID: 2781620
Yeah no problem. Usually I'd post the code but that is such a good reference that it's better to have you surf there than to post a huge amount of info!

Cool, thanks.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question