I dont know anything about Janus but do you just want to append escape 
characters to reserved ones in the user input so that your sql query remains 
valid?
If yes then you can do that either on server or client side by calling a string 
manipulation function like replace in AS3.

Thanks,
Peeyush
  ----- Original Message ----- 
  From: candysmate 
  To: flexcoders@yahoogroups.com 
  Sent: Thursday, October 25, 2007 1:07 PM
  Subject: [flexcoders] Escaping data-


  Currently I use Janus classes to communicate between Flex and MS SQL
  Server 2005. It works great. I now need to handle the escaping of user
  input so that typing in, say, 'Valentine's Day' doesn't break my sql
  string. Data from the server is returned either as an object or an
  arraycollection. Any advice on handling this would be much appreciated.

  I've been spoilt in the past be such niceties as 'magic quotes' in php :)



   

Reply via email to