Sorry for being redundant... I know there has been plenty of discussion on this topic
lately and I didn't read any of them :-(
How do I read a Javascript variable from Cold Fusion?
Specifically, I need to know the browser's language setting.
Here is what I would like to do:
<SCRIPT LANGUAGE="JavaScript1.2">
if (navigator.appName == 'Netscape')
var language = navigator.language;
else
var language = navigator.browserLanguage;
<CFSET Session.language = (javascript) language>
Obviously I can't do that because CF is executed on the server before the page is ever
sent, and Javascript is run by the browser on the client side.
---------------------------------------------------------------------------
Peter Theobald, Chief Technology Officer
LiquidStreaming http://www.liquidstreaming.com
[EMAIL PROTECTED]
Phone 1.212.545.1232 Fax 1.212.679.8032
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.