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 do I publish my asp.net application to my isp's web server?

0 Answers  


Differences between “dataset” and “datareader”.

0 Answers  


What are the features of asp net?

0 Answers  


Your ASP.NET application displays sales data on a page. You want to improve performance by holding the page in memory on the server for one hour. You want to ensure that the page is flushed from memory after one hour, and that the page is re-created when the next request for the page is received. What should you do? A . Initialize a new instance of the Cache class in the Application.Start event handler. B . Initialize a new instance of the Timer class in the Page.Load event handler. C . Set the Duration attribute of the OutputCache directive in the page. D . In the Web.config file, set the timeout attribute of the sessionState element.

5 Answers   ADITI, Syntax Softtech,


Explain code snippet to register exception filters from controller?

0 Answers  


What is difference between URL and URI?

0 Answers   MCN Solutions,


Explain how does asp page work?

0 Answers  


Explain the scenario where we go for inpro and outpro session?

3 Answers  


Can we change the page layout in ASP.NET 2.0 as Grid Layout like in previous version

2 Answers   Citrix, TCS,


Explain security types in asp.net?

0 Answers  


What is the difference between custom web user control and a custom web server control?

0 Answers  


what is the differance between .DLL & .EXE

10 Answers   Infinite Computer Solutions,


Categories