Solved

Checking browser type and version

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Mockito Method call failing. 3 190
Help with LDAp login using jsp 6 113
iterator example remove 8 74
spring example non maven 4 82
Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
In 2017, ransomware will become so virulent and widespread that if you aren’t a victim yourself, you will know someone who is.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

895 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now