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

Which .NET framework supports Web API?

592


Define static member?

533


How to implement globalization and localization in the use interface in .net.

536


when a request is made in Life cycle of ASP.NET page .

531


Explain advantages of caching?

532






Describe a bubbled event and how it is used ?

618


If you want to write your own dot net language, what steps you will you take care?

520


What is a gridview in asp.net?

526


What are sessions in asp net?

523


What is the difference between page-level caching and fragment caching?

534


What are ASP.NET Web Forms? How is this technology different than what is available though ASP?

935


What are the elements of a website?

517


What are the ways to show data grid inside a data grid for a master details type of tables? If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?

586


How are sessions stored?

534


What are the types of session in asp.net?

528