Why is validation always done on the server? When does that
occur?

Answers were Sorted based on User's Feedback



Why is validation always done on the server? When does that occur? ..

Answer / raghumadhav tirunagari

Server side validation is always performed in case a browser
doesn't support DHTML. However, to catch invalid entries,
you should check the IsValid property.When users try to
circumvent the client side code by saving it or by
modifying it with different tools.

Is This Answer Correct ?    3 Yes 0 No

Why is validation always done on the server? When does that occur? ..

Answer / saad

It is not always done on server, it can be done on client
side as well but its secure on server side. if the data is
not correctly enter then the request will be sent back to
client side with error message(round trip), so to avoid
that Page's IsValid Property must be used for each control.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

How do I open an ashx file?

0 Answers  


Explain server control extensibility with reference to asp.net 2.0 ?

0 Answers  


What is early binding and Late binding. Difference which is better ?

2 Answers   DELL,


What is work flow gen? how can it will work with .Net?

0 Answers   TCS,


What is application state?

0 Answers  






List the major built-in objects in asp.net?

0 Answers  


What is difference between ispostback and autopostback in asp net?

0 Answers  


How would you turn off cookies on one page of your website?

0 Answers  


What is role manager work in web.config? how to restrict perticular pages from the users using the role manager?

1 Answers   Patni,


How do u optimize a query in asp.net?

0 Answers   MCN Solutions,


What is the Difference between user and server controls?

5 Answers  


What is the difference between a Debug and Release build? Is there a significant speed difference? Why or why not?

4 Answers  


Categories