Explain the differences between Server-side and Client-side
code?

Answer Posted / manisha

Client-side is faster than server-side as the networking
time from client to server is saved
server-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.

________________________________________
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 Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we set master page as a start page?

533


What is class and object in asp.net?

486


Which property is used to identify the Page is Post Back in ASP.NET?

550


How do you deploy your asp.net application?

528


What are the types of validation in asp net?

542






Why asp.net mvc is better than asp.net? : Asp.Net MVC

493


Explain different types of Caching techniques in ASP.NET?

543


What is the procedure to handle the process request using mhpm events fired? : asp.net mvc

533


How can we secure the data which is send from client side to server? Like the login id and paasword needs to be authenticated on the server but we cannot send it in plain text into the server.One more thing we are not using the SSL here.

1419


What is a page life cycle?

564


What is the difference between exe and dll?

551


Any one can tell how we store tiff format images in database and retrive from the database(need for tiff format only)

1605


What are the modes of updation in an updatepanel?

548


What is postback request?

548


What are the different authentication modes in asp.net?

513