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 5932123
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T14:47:29+00:00 2026-05-22T14:47:29+00:00

Okey, I am using this code to detect the browser <%= Request.Browser.Browser %> When

  • 0

Okey, I am using this code to detect the browser

<%= Request.Browser.Browser %>

When using chrome, it is giving me browser

AppleMAC-Safari

I need it to say chrome, Ater looking around, i found this

Google Chrome/Safari Same Browser Name and Version !

I did all that was given in the answer to the question, but that doesn’t help.

I am using VS 2010 and using .net framework 3.5

thankyou.

Edit: I tried doing what is suggested on this page

http://www.codemonkeez.com/2010/06/detect-google-chrome-browser-with.html

it is still giving me

AppleMAC-Safari

:/

thanks again.

  • 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-22T14:47:29+00:00Added an answer on May 22, 2026 at 2:47 pm

    Have you tried:

    if (Request.UserAgent.Contains("Chrome") && !Request.UserAgent.Contains("Edge"))
    {
        //do chrome stuff
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Well, I need to make simulator for non-deterministic Push-Down Automaton. Everything is okey, I
Okey, here it goes. I have a block of code that repeats it self
Lets say i have a Shape object that has a constructor like this: Shape(
I need to instantiate WPF types (say, a UserControl or a Page) via reflection
Okey, this is my problem. I have one service class where Ive managed to
This is my Test.cshtml: @using(Ajax.BeginForm(Test, new AjaxOptions())) { <p> Some String: <input name=someString type=text
Okey, so this is my problem. I want to use mod_rewrite to make nice
How to access an object using a variable as key. Here is my code
Okey, this might seem a bit strange question so I will explain. Do I
i'm working on an iphone app, in which i need to send application request(invitation

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.