Richard
In your js, use encodeURIComponent on any user entered data to properly
encode the string.  Have a look at the CF function URLDecode on the backend
if CF doesn't properly decode your string automatically.

Steve

On Mon, Sep 28, 2009 at 9:31 AM, Richard White <[email protected]> wrote:

>
> hi
>
> our client side scripting is in javascript and server side code is
> coldfusion.
>
> our javascript sends string data to coldfusion via url.
>
> what is the best way to encode/escape the javascript strings and
> decode/unescape them in coldfusion
>
> thanks
>
> richard
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326744
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