It's probably just my ignorance about the use of JS, but why can't JS be coded to insure clean code?
I mean, if I set up validation to only allow digits on the client-side, how can they insert hack code that will affect my server? (I really know next to nothing about hacking servers and the code that is used, so I really am just looking to be educated...) Rick -----Original Message----- From: Zaphod Beeblebrox [mailto:[EMAIL PROTECTED] Sent: Saturday, April 14, 2007 11:13 AM To: CF-Talk Subject: Re: Client-side validation or Server-side Validation? heck as long as you implicity trust your users to give you clean data and they'll never try to hack your server, well then yeah, I think client side only is good. To me, this pertains to the apps that my mom and I use....everything else uses server side or both. :) On 4/14/07, Rick Faircloth <[EMAIL PROTECTED]> wrote: > Ok.... > > So I've been getting into jQuery a lot lately. And being able to > do some of the user enhancements has been great. > > I've also begun, as one of those user enhancements, to use > client-side validation. Not for login's, but for mortgage calculators, > property search request forms, etc. Not critical, but important. > > But now that I've started down the client-side validation road, I hear > from passersby, "No! You should always validate server-side or both!" > > (I did experiment with jQuery to use Ajax to validate server-side with CF, > but couldn't quite pull it off, so for a mortgage calculator, I went totally > client-side just to get the project moving again...) > > But, apart from the "some users don't have Javascript turned on" argument, > why can't JS code be written that can validate as well as CF? ( I know I > can't > write the JS code right now, but that's beside the point...) > > Thoughts? > > Rick > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275204 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

