Solved

URGENT: how to get browser language via Browser object?

Posted on 2007-03-18
6
1,047 Views
Last Modified: 2010-05-18
Hi how to get browser language via Browser object?
0
Comment
Question by:Abdu_Allah
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 2

Expert Comment

by:juravich
ID: 18743952
What do you mean by language?

Whether it is set to display english, spanish, chinese etc?

or something else?
0
 
LVL 3

Author Comment

by:Abdu_Allah
ID: 18744007
>Whether it is set to display english, spanish, chinese etc?

Yes exactly.
0
 
LVL 2

Accepted Solution

by:
juravich earned 500 total points
ID: 18744214
Use:

Request.ServerVariables("HTTP_ACCEPT_LANGUAGE")


For a list of language encodings go to:

http://msdn2.microsoft.com/en-us/library/system.globalization.cultureinfo.aspx

0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 2

Expert Comment

by:juravich
ID: 18744240
0
 
LVL 3

Author Comment

by:Abdu_Allah
ID: 18744854
I want that via .NET Browser object.
0
 
LVL 3

Author Comment

by:Abdu_Allah
ID: 18744858
Something like: Request.Browser....
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

739 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