Solved

Checking browser type and version

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Suggested Solutions

Title # Comments Views Activity
Display current date,month,and year to JTextField 3 63
issue with pdf generation 2 95
iterator/ListIterator approach 17 51
jsp error 6 42
Enabling the Skype for Business Meeting Scheduler in Hybrid OWA
Adults who share images on social media aren’t the only ones who need to worry about their privacy. Our culture’s tendency to share every move and celebration affects the privacy of our children, too.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

685 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