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 / sudhir sheoran

Validation can be done at server side as well as
client side.

Client side validations :-
1) are of great use with the enhancement of
java scripts.
2) Performance booster as validation is done at client side.
3) security issues are there in client side validation.
4) So should be used for simple operations like
user input validations e.g valid name,valid date range,
valid phone number,email etc,where security is of not
that much concern.

Server Side validation(SSV):
1) Some validations can be done at server side only
e.g whether a email exists in database or not.
2) Decreases performance because of more trips to server
3) When security is a concern SSV should be used.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When you use Ajax controls in the ASP.NET application?

981


What is postback in asp net?

1000


Define session in asp.net.

933


Can we use a static function with a non-static variable?

926


Explain the difference between panel and groupbox classes using .net?

915


Describe session handling in a webfarm?

941


Which protocol is used in a web api?

1048


Explain the steps to be followed to use passport authentication.

996


What is aspect-oriented programming?

998


What are the session management techniques asp net?

950


Do you support digital rights management to protect my videos?

812


What is synchronous and Asynchronous post back ?

1063


In your ASP.NET 2.0 web application you want to display an image that is selected from a collection of images. What approach will you use to implementing this?

934


What is the use of data set in asp.net?

906


What is the life cycle of an asp.net page?

862