Solved

IE <-|-> Netscape Redirect

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Issue with Loop 4 50
VBScript FormatCurrency - how to change the currency symbol 4 40
Scheduled IIS .Net2 AppPools recycle and SQL connection Hangs 33 93
is this a cms? 8 36
I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:  The Exchange of information …
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/…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

863 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

27 Experts available now in Live!

Get 1:1 Help Now