GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  ASP
Go To First  |  Previous Question  |  Next Question 
 ASP  |  Question 131 of 147    Print  
What is the difference between Server-side validation and Client-side validation?

  
Total Answers and Comments: 4 Last Update: December 04, 2006     Asked by: sarita Mohapatra 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
July 18, 2006 13:55:50   #1  
Swetha Reddy        

RE: What is the difference between Server-side validat...
  1. Client-side is faster than server-side as the networking time from client to server is saved
  2. server-side is done on the server. Then the server converts the data into an html page and sends to the browser.
  3. server-side is more secure as the user cannot see the code even he does a view-source.

 
Is this answer useful? Yes | No
November 03, 2006 01:04:11   #2  
vishal gaikwad        

RE: What is the difference between Server-side validat...
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
 
Is this answer useful? Yes | No
November 14, 2006 06:49:37   #3  
partha        

RE: What is the difference between Server-side validat...

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.


 
Is this answer useful? Yes | No
December 04, 2006 06:33:50   #4  
J Jayaprakash        

RE: What is the difference between Server-side validat...

- 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


 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape