Solved

Checking browser type and version

Posted on 2004-10-15
3
159 Views
Last Modified: 2010-04-01
Okay so I'm putting out the User Agent out of the request header.
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)

Now I can get the msie or netscape or those others ones, what I need next is to get the version number, as I need to restrict who can get into the next part.

Help
0
Comment
Question by:geeker1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 33

Accepted Solution

by:
sajuks earned 125 total points
ID: 12318355
0
 

Author Comment

by:geeker1
ID: 12318906
Thanks for the good link.  I have another question, still has to do kinda with the other one.

When I try for Firefox vs Mozilla vs Netscape I run into a few issues, and Netscape 6 is nothing like Firefox or Mozilla.

Firefox -
mozilla/5.0 (windows; u; windows nt 5.1; rv:1.7.3) gecko/20041001 firefox/0.10.1

Netscape 6 -
mozilla/5.0 (windows; u; windows nt 5.0; en-us; m18) gecko/20010131 netscape6/6.01

Mozilla 1.7 -
mozilla/5.0 (windows; u; windows nt 5.1; en-us; rv:1.7.3) gecko/20040910


Any help?
0
 
LVL 33

Expert Comment

by:sajuks
ID: 12320067
The “commercial” version of Mozilla is Netscape 7.x.
mozilla is a advanced open source of netscape. not in total but quite a major junk.
firefox is an offshoot  of mozilla. the mozilla family includes browsers like netscape/firefox/mozilla.
If you are coding for netscape its one and the saqme logic for mozilla/firefox.

Thanks for the points and grade
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Multiple Images Upload [JSP Web-application] 3 49
doubleChar java challenge 7 130
Suggestion on WebSite Template Sites 6 124
junit initializtion error 2 19
Not everyone has adapted to a rapid advancement in technology; there are people who are reluctant or afraid to delve into this brave new world of IT. If you have a friend or a family member who suffers from the so-called technophobia, here is how yo…
By reading this blog, MSPs will gain insight into how to improve communications with their clients as well as establish a more profitable business.
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

737 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