Should user input data validation occur server-side or
client-side? Why?
Answers were Sorted based on User's Feedback
Answer / sapna
User input data validation should occur on client side.
Then for each transaction there is no need to contact with
server thereby transactions decreases and efficiency
increases.
Is This Answer Correct ? | 19 Yes | 8 No |
Answer / manish singh(amalga fusion)
user input data validation can occur both side means client
side as well as server side. but generally validated on
client side because in this validation no any sever
resources used for validation. So it provides less
overhead on server and application performance become fast
rather than server side. if we validate user input data on
server side every time data check on server so the
performance of application become slow down.
Is This Answer Correct ? | 17 Yes | 7 No |
Answer / zaw
Client side validation such as javascript can be bypassed.
It is not secured at all. But it can be used to provide
quick feedback to the users. For example, if the user enters
invalid username and jump to another field, show an error
message quickly with client side validation.
Sever side validation protect against against the malicious
user. Using both techniques can provide secrue, quicker
validation and compatibility .
Is This Answer Correct ? | 12 Yes | 3 No |
what is DLL Hell and how it is solved in .NET? please explain clearly??
What is the sequence in which ASP.NET events are processed?
how to include timer or counting time to display next page in asp.net
What are server objects?
Explain automatic memory management in .net.
How many types of file extensions for razor views in ASP.Net MVC?
Can two web application share a session and application variable ?
5 Answers Satyam, V3 Engineers,
Can a user browsing my Web site read my Web.config or Global.asax files ?
How do you do validations. Whether client-side or server-side validations are better ?
2 Answers InfoLinks, Microsoft,
Types of values mode can hold session state in Web.Config?
How many Directives r in ASP.NET?
Should validation (did the user enter a real date) occur server-side or client-side? Why?