Have you actually tried it?

>Impossible that it works as you describe.
>
>If anyone runs this code they will simple see a session variable with a
>string of js text.
>
><cfset session.screenwidth =
>"<script>document.write(>screen.width);</script>" />
><cfdump var="#session#" />
>
>You would have to do it with ajax as suggested, or use js to set a form
>variable.
>
>
>
>> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:353622
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to