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 are themes and skins in 2.0, explain usage scenario?

0 Answers  


Am not able to move the controls on the form freely in asp.net 3.5 even though I selected the position as relative or absolute for those controls. What should I do to overcome this?

0 Answers  


Is data edited in the Repeater control?

0 Answers   Siebel,


What ASP.NET object encapsulates the state of the client and the browser? a) The Session object b) The Application object c) The Response object d) The Request object e) The Server object

7 Answers   Bunzl Vending, Syntax Softtech,


Where can I get information on cookies in asp.net?

0 Answers  






How you can manage the state of application at the server side in ASP.NET?

0 Answers  


Please briefly explain the usage of global.asax?

0 Answers  


Explain about ASP.NET?

0 Answers  


Is it necessary to lock application state before accessing it ?

1 Answers  


What are the memory-mapped files?

0 Answers  


What are the modes of updation in an updatepanel? What are triggers of an updatepanel?

0 Answers  


Why we use asp.net for website development?

0 Answers  


Categories