Solved

Checking browser type and version

Posted on 2004-10-15
3
156 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
  • 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Data breaches are on the rise, and companies are preparing by boosting their cybersecurity budgets. According to the Cybersecurity Market Report (http://www.cybersecurityventures.com/cybersecurity-market-report), worldwide spending on cybersecurity …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

776 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