Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Language detection (maybe cgi.http_user_agent ?)

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hello,
is there a way to redirect the user according to his/her browser's language? I don't want to use Javascript, so I figured out that cgi.http_user_agent could do, but it seems to get anything, apart from the thing I need (the two letter code: EN, DE, FR, IT...).

Any idea?

Thanks,
Claudio
 
Well, I'm afraid you are going to need a Javascript to do the trick for you, since HTTP_USER_AGENT is the only way to get the browser version and stuff with CF.
Post again if you need the Javascript that will do this.
<webguru>iqof188</webguru>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top