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

How many classes can a single .NET DLL contain?

14 Answers   Siebel Systems,


Elaborate differentiation between Cache and Application?

0 Answers   QuestPond,


How to store a dataset in a viewstate?

3 Answers   Patni,


What are demand-paging and pre-paging?

0 Answers   MCN Solutions,


What's a bubbled event?

3 Answers   Siebel,






Hi, I am developing an application (quiz engine) using C# in Dot net. My problem is I am designing the selction option using radio button. So, I want to retrive the data from the database to the radiobutton option. And also please tell me the how to compare the correct answer option with Answer selected by the users. If any body knows or have done this before please Help me out. My mail id is get_rome@yahoo.co.in. Table format: Question Id Queston Option1 Option 2 Option 3 Option 4 Correct answer 1 What is ur name? My name is ….. My name …. My name …. My name …. My name is tom

4 Answers  


What are uri parameters?

0 Answers  


How to use one project files into another project?

4 Answers   HP,


What is asp.net version?

0 Answers  


Explain a program using code nuggets to create a simple application? : asp.net mvc

0 Answers  


How to authenticate users using web.config ?

1 Answers   Patni,


What types of data validation events are commonly seen in the client-side form validation?

0 Answers  


Categories