[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 268
  • Last Modified:

IE <-|-> Netscape Redirect

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
thunderchicken
Asked:
thunderchicken
  • 2
1 Solution
 
ManoloMACommented:
Try this:

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

%>

Manolo
0
 
frueyCommented:
How about this;

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

The lowdown on all kinds of browser detection issues.
0
 
thunderchickenAuthor Commented:
Seems like this will work for me, many links for me to play around with... thanks!
0
 
frueyCommented:
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now