Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7034001
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:07:59+00:00 2026-05-28T01:07:59+00:00

I just want to know whether we can differentiate the user request. I mean,

  • 0

I just want to know whether we can differentiate the user request. I mean, I would like to render the pages according to the request. If the request comes from iPhone/iPad/Android then I will display the pages designed accordingly. Else I will display the normal HTML page.

I am not sure, if we can find out the type of the user based on the request. Can anyone help me out by posting some ideas ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T01:08:00+00:00Added an answer on May 28, 2026 at 1:08 am

    I think you’re asking:

    Q: How can a web server identify the client platform?

    A: There’s no SURE way to do this.

    Your best bet is to look at the http header from the client request. Specifically, look at the “user-agent”.
    Here’s a link with a similar question:

    Is it possible to identify Android apps from http headers?

    Here are three examples:

    http://www.askdavetaylor.com/detect_apple_iphone_user_web_site_server.html

    1) IE, from a Windows PC:

    HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727)
    

    2) An Apple iPhone with Safari:

    HTTP_USER_AGENT=Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en)
    AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1C25 Safari/419.3
    

    3) An Android phone:

    Moxilla/5.0 (Linux; U; Android 2.2; en-us; T-Mobile G2 Build/FRF91) AppleWebKit/533.1(KHTML, like Gecko) Version/4.0 Mobile Safari/533.1
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am new to networking. I just basically want to know whether we can
I really just want to know whether the user has set the iPhone to
I just shoot myself in the foot and would like to know whether there
hello friends i just want to know that whether we can access or fetch
I am not concerned about other kinds of attacks. Just want to know whether
I don't care what the differences are. I just want to know whether the
I just want to know: How can I delete 'log.txt' if the last modification
I just want to know how does the table resulting from readXML look like,
I just want to know if there is a program that can convert an
I use WCF netNamedPipeBinding and wsHttpBinding . I would like to know whether a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.