differences between Server-side and Client-side code

Posted by Saranya Boopathi under ASP.NET on 6/26/2013 | Points: 10 | Views : 520 | Status : [Member] | Replies : 1
Explain the differences between Server-side and Client-side code?

Saranya Boopathi


Posted by: Satyapriyanayak on: 6/27/2013 [Member] [MVP] Silver | Points: 25

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.


If this post helps you mark it as answer

Saranya Boopathi, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response