Solved

IE <-|-> Netscape Redirect

Posted on 2000-05-05
4
219 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

705 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now