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 |
Explain in what order a destructors is called.
What is the main difference between a static page and a dynamic page?
What is the difference between response.redirect and server.transfer, how to choose one among the other?
What are the advantages of the code-behind feature?
what are the security certificates used in webservices?
How many column in table of sql server?
What is cyclomatic complexity and why is it important?
Is it possible to disable the minimized icon of a popup window using window.open. Not using iframe concept?
What is an Interface and What is an Abstract Class?
What is the relationship(in oops) between codebehind and inline code(.aspx to .aspx.cs)??? explain
What methods are fired during the page load?
Write some code using interfaces, virtual methods, and an abstract class`