Should user input data validation occur server-side or
client-side? Why?

Answers were Sorted based on User's Feedback



Should user input data validation occur server-side or client-side? Why? ..

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

Should user input data validation occur server-side or client-side? Why? ..

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

Should user input data validation occur server-side or client-side? Why? ..

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

Post New Answer

More ASP.NET Interview Questions

what is DLL Hell and how it is solved in .NET? please explain clearly??

0 Answers   TCS,


What is the sequence in which ASP.NET events are processed?

0 Answers  


how to include timer or counting time to display next page in asp.net

0 Answers  


What are server objects?

0 Answers  


Explain automatic memory management in .net.

0 Answers  






How many types of file extensions for razor views in ASP.Net MVC?

0 Answers  


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 ?

1 Answers  


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?

6 Answers   Accenture,


How many Directives r in ASP.NET?

8 Answers  


Should validation (did the user enter a real date) occur server-side or client-side? Why?

4 Answers   Siebel Systems,


Categories