Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Checking browser type and version

Posted on 2004-10-15
3
Medium Priority
?
163 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 500 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying 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

Sometimes Administrators rights are not enough. These cases call for the SYSTEM account. The process in this article outlines the steps required to execute commands using the SYSTEM account.
What monsters are hiding in your child's room? In this article I will share with you a tech horror story that could happen to anyone, along with some tips on how you can prevent it from happening to you.
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

636 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