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

How will you maintain versioning in asp.net 2.0?

748


If you want to bind the columns manually within the asp:datagrid tags what kind of tags you have to add.

850


What is the purpose of App_Code folder in ASP.NET? Why we this?

850


Explain Features in ASP.NET

753


what is the difference between response.write() and response.output.write()?

899


What are different methods of session maintenance in asp.net?

749


List the events in page life cycle.

714


can s/w quality assurance engineer switch field to programming side i m very much interested in programming but not much good in it

1660


What is the use of view state?

711


What is a form tag?

676


What is the use of execute non query in asp.net?

672


Explain what the contents of cookie?

776


5. What three Specific Job Positions do you target from Swatz Oils GROUP U.K?

1978


What is the use of service provider?

741


How to create events for a control?

750