Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Browser/Platform Detect/Redirect

Status
Not open for further replies.

BDNFLNC

Technical User
May 30, 2002
202
US
Hey all.

I have a site with a DHTML nav on the home page and it appears differently on the PC vs the MAC. Also in Netscape vs. IE.

I would like to use a script that will redirect to index1.html or index2.html based on the OS and the browser.

Is there a script that is easily modified by a novice? I want to have a line for NS4.x to index2, NS7 to index1, etc...

I searched the archives but didn't come up with the right scripts.

Thanks.

Kenn
 
at there are several articles about password protection by having the user enter a userid that is actually the root of an HTML document name. You place one file on the server for each user, and if user 'ABC' logs in successfully he/she is directed 'ABC.HTML', which can redirect them to the protected part of the site. If the user enters an invalid ID, they get a 404 error - "Page not found" and they presumably give up.

Still not totally secure, but better than embedding user ids in your HTML code.

Check it out.

Mike Krausnick
Dublin, California
 
Igore my previous post - My answer posted to the wrong question. Sorry

Mike Krausnick
Dublin, California
 
I think the scariest part is that I knew what you meant! (for which thread)

Hehhe.

Thanks.

Kenn
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top