Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How do I detect what browser is being used?

Answer Posted / guest

Many browsers identify themselves when they request a
document. A CGI script will have this information available
in the HTTP_USER_AGENT environment variable, and it can use
that to send out a version of the document which is
optimized for that browser.

Keep in mind not all browsers identify themselves correctly.
Microsoft Internet Explorer, for example, claims to be
"Mozilla 1.2" to get at Netscape enhanced documents.

And of course, if a cache proxy keeps the Netscape enhanced
document, someone with an other browser will also get this
document if he goes through the cache.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I create a link that sends me email?

836


What is the difference between innertext and textcontent?

941


What is server sent events?

791


What is a 1 page website?

804


What is meta utf8?

785


How to validate xhtml documents online?

836


What is a mailto link?

797


What is iframe in html?

821


What is the purpose of 'output' tag in HTML5?

830


What is the use of output tag in html5?

796


What are chainstays?

820


What is difference between html 4 and html 5?

789


What is the difference between html and html5 w3schools?

729


Why is label used in html?

769


Which is best html debugging tool.

794