Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How do you do validations. Whether client-side or
server-side validations are better ?

Answers were Sorted based on User's Feedback



How do you do validations. Whether client-side or server-side validations are better ?..

Answer / abhishek kumar

Server side validation is always better option to have
safe side due to the following resons.

i) Client side script is always a security risk and in many
case it is not allowed, and for the same reason JavaScript
that is behind nearly all client side validation could be
turned off in web browser.

ii) Validation that requires a database only server side
validation is better option.

iii) Keeping all validation code at one place.

To minimise trips that user has to face in the case of
server-side validation it will be better option to validate
all input fields at once when they are submitted to server
and returning back a single error message for all invalid
entries.

Is This Answer Correct ?    7 Yes 1 No

How do you do validations. Whether client-side or server-side validations are better ?..

Answer / sivasaravanan

using javascript. Client side validation better.

Is This Answer Correct ?    2 Yes 5 No

Post New Answer

More ASP.NET Interview Questions

accessing a textbox that was created dynamically? for (int i = 0; i < t1; i++) { TextBox t2 = new TextBox(); t2.ID = "adf" + i; PlaceHolder1.Controls.Add(t2); } accessing data entered in the above created controls.

1 Answers  


Difference between Htttppost and Httpget Methods?

3 Answers   Infosys, Microsoft,


What is data cache in sql server?

0 Answers  


What is the difference between CC and BCC?

0 Answers   MCN Solutions,


Which tab of the web site administration tool do you use to manage application setting ,debug and tracing?

2 Answers  


In order to bind the data from a data source to the Repeater control what property is set and what method must you call in your code,?

0 Answers   Siebel,


What is state management technique?

0 Answers  


What is the difference between a multi-layer and multi-tier applications?

0 Answers   Microsoft,


What?s the difference between Response.Write() andResponse.Output.Write()?

7 Answers   Atos Origin, IBM,


Describe the application event handlers in ASP.NET?

0 Answers   HCL,


In order to get assembly info which namespace we should import?

0 Answers  


Disable browser cache for entire ASP.NET website?

0 Answers   HCL,


Categories