GeekInterview.com
Series: Subject: Topic:
Question: 18 of 147

What is the difference between Server-side validation and Client-side validation?

Asked by: Interview Candidate | Asked on: Jul 14th, 2006
Showing Answers 1 - 4 of 4 Answers
Swetha Reddy

Answered On : Jul 18th, 2006

Client-side is faster than server-side as the networking time from client to server is savedserver-side is done on the server. Then the server converts the data into an html page and sends to the browser.server-side is more secure as the user cannot see the code even he does a view-source.

  
Login to rate this answer.
vishal gaikwad

Answered On : Nov 3rd, 2006

Client side is programmatic code in an html file that runs on the browsercommonly written using javascript programming language.serverside that executes on webserver.these script are processed and is sent to the client.aspscripts are server side scripts

  
Login to rate this answer.
partha

Answered On : Nov 14th, 2006

Client side validation is processed the client side before submitting the form. The advantage of using the client side validation is , it reduces the netork trafiic , since the validation is processed in the client machine itself. Eg, email, isnumeric, isdate etc.Server side validation is processed in the server. Some data cannot be validated in the client side and it has to be validated in the server side. Eg, Date between the two dates in the database.

  
Login to rate this answer.
J Jayaprakash

Answered On : Dec 4th, 2006

  - Client side validation eliminates the round trip for the sake of any validation  - Server side validation is required since the validation that happens at the server end and can not be tampered with. Client side validation happens at the client machine using the Javascript which can be manipulated. For any important validations it is not safe to do only in the client side.  - Client side validation happens usually using javascript for compatibility across browsers. VB script can also be used but it will be working in the IE browser only and throwup errors in other browsers.  - Server Side validation is done using VB script usually

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.