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 ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are configuration files?

990


What are the events that happen when a client requests an asp.net page from iis server?

951


What is state management techniques in asp.net?

983


What are sql joins?

936


What is the best Macanism to clear the Cache in asp.net

1175


Where the viewstate is stored after the page postback?

1012


Describe the events in the life cycle of a web application.

1023


How can u deifne the benefits and limitation of using Viewstate for state management?

1089


Why we are using mvc instead of asp.net? : Asp.Net MVC

981


What are the new features added from ASP to ASP.NET?

1033


What will happen if the server confugration file and the application confugration file have different values for sassion state ASP.NET?

1176


Explain about asp.net state management?

984


How do you sign out from forms authentication?

998


How will you load dynamic assembly?

940


How do you secure your connection string information?

939