Thanks guys for the jquery pointer, much appreciated. Got it working so the data is now in cfml via ajax. Page source got numbers vs string. Doh !!
http://exelstudio.com/test5.cfm jquery ajax call: <script type="text/javascript"> var theData= "screenWidth=" + screen.width+ "&screenHeight="+screen.height; $.ajax({ type: "POST", url: "ajax.cfc?method=myMethod", data: theData, datatype: "json", success: function(){} }); </script> ajax.cfc file: <cfcomponent> <cffunction name="myMethod" returntype="struct" access="remote" returnformat="json"> <cfargument name="screenWidth" type="numeric" required="no"> <cfargument name="screenHeight" type="numeric" required="no"> <cflock scope="session" type="exclusive" timeout="30"> <cfset session.screensize = StructNew()> <cfset session.screensize.width= #arguments.screenWidth# /> <cfset session.screensize.height= #arguments.screenHeight# /> </cflock> <cfreturn session.screensize> </cffunction> </cfcomponent> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353638 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

