Hi
Where should the Data Validations be performed at the client side or at the server side and why ?
Data Validations
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Satyapriya NayakRank #47 · 31.5K reputationPosted May 8, 2012, 8:55 AM EDT
All user input data validation should occur on the server at a minimum. Additionally, client-side validation can be performed where deemed appropriate and feasable to provide a richer, more responsive experience for the user.
Also Please refer the below link
http://stackoverflow.com/questions/162159/javascript-client-side-vs-server-side-validation
Thanks
MuthuMari MRank #5,738 · 288 reputationPosted May 8, 2012, 11:35 PM EDT
Data validations should be done primarily at the client side and the server-side validation should be avoided because it makes server task overloaded. If the client-side validation is not available, you can use server-side validation. When a user sends a request to the server, the validation controls are invoked to check the user input one by one.
thanks.
If this post is useful then mark it as "Accepted Answer"