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

Answer Posted / bhim bharti

Server side scripting means that all the script will be executed by the server and interpreted as needed. ASP doesn't have some of the functionality like sockets, uploading, etc. For these you have to make a custom components usually in VB or VC++. Client side scripting means that the script will be executed immediately in the browser such as form field validation, clock, email validation, etc. Client side scripting is usually done in VBScript or JavaScript. Download time, browser compatibility, and visible code - since JavaScript and VBScript code is included in the HTML page, then anyone can see the code by viewing the page source. Also a possible security hazards for the client computer.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Elaborate differentiation between Cache and Application?

716


What is bound controls

775


Describe the diffeerence between inline and code behind - which is best in a loosely coupled solution?

858


What is difference between web config and global asax?

624


What are the parts of an http response?

692


Explain the use of resource manager class in .net.

710


What is the difference between globalization and localization?

669


What is the difference between ldap and active directory?

755


Why the javascript validation not run on the asp.net button but run successfully on the html button?

729


What asp.net control can embed xaml into asp.net pages?

739


Define authentication and authorization.

830


What is session handling in a webfarm, how it can work with its limits?

841


Give me one example of Web API Routing?

796


Describe the master page.

741


What is data binding in asp net?

799