What is Client side and Server side scripting ?

October 28, 2007 · Filed Under ASP.Net Interview Questions, Placement Questions 



Don't want to miss a single bit? Subscribe By Email for Daily Jobs

Enter your email address :

All the latest from JobsAdda on Jobsadda.com delivered to your mailbox everyday.

Client Side scripting: HTML is a language that provides formatting of static textual data. However it provides no true interactivity other than allowing the user to navigate from one page to another. Client side scripting enables embedding of limited programming instructions within a web page and this is performed at the client end. JavaScript and VBScript are two languages that allow you to embed client side scripting code into your static HTML files. The syntax of JavaScript is similar to Java as VBScript is similar to VB. The script is included in the tags.

Server Side scripting: When the browser makes a request for a file ending with the .ASP file extension, IIS knows to bring ASP.DLL into play to interpret the ASP code in the file. Once interpreted, the results of this code are placed into the document, which is a simple HTML document before it is sent to the user.

How does ASP.DLL know which code to interpret? The answer to this question is the key to executing code on the server. ASP.DLL interprets all code in a file (with the .ASP file extension) that’s delimited with <%…%> as being ASP code.

Related Articles


Get Latest JobsAdda.com Jobs, news & updates  via Email