cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1037
Views
0
Helpful
4
Replies

How to Identify the mobile browser and PC browser

Can some one help me to identify the mobile browse

r and PC browser. Which field in header

contains this information.

4 Replies 4

Surya ARBY
Level 4
Level 4

Match "User-Agent" in the HTTP headers of the requests.

Hi, is it true that all PC browsers have User-Aggent: Mozilla? what is User-Agent for for mobile browser?

Not so far that I know of. To me you'll have to catch some signatures according to the well known web browsers (Firefox, IE, Opera, Chrome) and then use a class-default for others. Each User-Agent is specific to a client software

After reading the RFC2616, I couldn't find any rule for filing the User-Agent value the ones described in the RFC (product | comment)

Mozilla/5.0 seemed to be previously used to indicate compatibility with the Mozilla rendering engine

Review Cisco Networking for a $25 gift card