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
What are server activated objects?
What is difference between viewstate and session in asp net?
Explain about asp.net caching?
What is the difference between client-side and server-side validations in webpages?
Where would you use an ihttpmodule, and what are the limitations if any?
What is cas?
What is use of <% %> in asp.net?
Where session id is stored?
What is the difference between web config and machine config files?
What is the use of dispose method?
Why we use asp.net for website development?
How does a content page different from a master page?
What is the asp.net control toolkit?
What are Master Pages in ASP.NET?
How do we assign page-specific attributes?