thanks to both of you for your comments we will look into these

in relation to the client side - when we want to send data to coldfusion do you 
only use the escape function in Javascript or do you use some other means?

thanks

>In addition to Cutter's points about JSON encoding, look into the
>URLEncodedFormat and URLDecode.
>
>If, when making your Ajax calls, you pass the returnFormat = "JSON" 
>attribute to your CFC method, then CF will automatically encode the result
>when creating the JSON output. When passing a JSON value to ColdFusion,
>inside your CFC method you can use the DeserializeJson() method to decode
>the value.
>
>Steve "Cutter" Blades
>Adobe Certified Professional
>Advanced Macromedia ColdFusion MX 7 Developer
>
>Co-Author of "Learning Ext JS"
>http://www.packtpub.com/learning-ext-js/book
>_____________________________
>http://blog.cutterscrossing.com
>
>Richard White wrote:
>> hi
>> 
>> we are developing an Ajax based system using JavaScript and Coldfusion.
>> 
>> we have only just started to realise the need for escaping / encoding....
>special characters. how do you guys deal with this, e.g:
>there may be  to understand this.
>> 
>> thanks
>> 
>> richard
>> 
>> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319865
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to