I agree about not insulting users, however my exercise has nothing to do
with language.
It is an intranet site where PC engineers can go and download software
packages for the PC's they are working on. There are different packages
depending on country (The applications are packaged to connect to different
servers etc). Therefore it would be nice to get the LCID of the requesting
PC so that they are pointed to the correct package (With the choice there to
change if need be obviously).
I appreciate this may be impossible, but if anybody knows a way that would
be great.
Thanks again.
"Egbert Nierop (MVP for IIS)" <eg***********@nospam.com> wrote in message
news:OL**************@TK2MSFTNGP10.phx.gbl...
"Miguel Orrego" <mi****@stressedmonkey.net-nospam> wrote in message
news:3f***********************@news.dial.pipex.com ... Hi,
Does anybody know how to determine a user's country or LCID in an asp page?
I've found some articles on using:
Request.ServerVariables("HTTP_ACCEPT_LANGUAGE")
but somehow this doesn't seem like a foolproof method to me.
It is not foolproof indeed. It's the only best way SET by the user
himself! Some others use IP address recognition (country based) but you should not
insult a user by guessing his preference language based on IP.
Thanks.