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

Showing Answers 1 - 32 of 32 Answers

Jatinder Singh Rana

  • Aug 8th, 2005
 

Server side code get executed on the web server in the response of request for any aspx page 
where client-side code get executed on the client browser (e.g validation of controls, dynamically hidding and displaying some of controls or there values etc)

AMARESH

  • Aug 8th, 2005
 

what is the disadvantages of interface?[

  Was this answer useful?  Yes

Anil

  • Sep 1st, 2005
 

Client side code will be in javascipt or vb sciprt and will execute only in the clients machine and not on the web server. (validations client side is example for this) 
 
Sever side code will get executed on webserver. These will consume the servers memory.Code behind is example for this.

roo

  • Sep 6th, 2005
 

very good

  Was this answer useful?  Yes

Server side code is executed at the server and written in VB Code whereas client side code is executed at the client side. Mostly client side coding is done in Javascrit.

The reason why we do client side validations is to save the to and fro time taken for the request to go to the server and the response to get back to the browser.

Sudhakar Leo

  • Oct 7th, 2005
 

Server Side Code : It is written in the .CS file for C# and .vb file for VB.Net and the Code is executed in the Server sideClient Side Code : it is a scripting language that can be included in the HTML Page or can contain in the Source File either .vb or .cs and it is executed in the Browser

  Was this answer useful?  Yes

Bhanu

  • Oct 11th, 2005
 

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

  Was this answer useful?  Yes

priyanka

  • Nov 17th, 2005
 

GTHR

  Was this answer useful?  Yes

Mukesh

  • Apr 16th, 2007
 

Server side scripting(whatever the language it may be i.e. VB.NET,C#,ASP etc) will always run on server side and create roundtrip on server,but in case of client side scpripting,it will always run on client side(mainly used for information or control validation).As it runs on client's brower it does not create any roundtrip to the server.Javascript is a popular clientside scripting language.

  Was this answer useful?  Yes

The difference between server side and client side code is that server side
code is always process by server whereas client side code is executed by client
side script or to be precise client side browser.
If we want to access server side database or files we will have to use server
side code and if we want to handle client side validation we will have to use
client side code.
The common script used for client side script is JavaScript. whereas for server
side code the common script is VBScript.
Client side code validate the data before sending it to server. Where as server
side code validate data to check whether sent data is correct or not.

Client side code is executed on the client side when the page is executed such as javascript validation. when a user enter a a password it can be validated at client side such as password should be not less than 6 character etc..In server side the code is processed over  server side..such as validation control..

  Was this answer useful?  Yes

apielma

  • Nov 3rd, 2010
 

Server side code is executed on the server. Examples asre ASP, ASP.NET, PHP, and JAVA

Client side code is execcuted on the client. An exanple is Javascript, Doing so will NOT require a trip top the server (Refresh of the browser)

  Was this answer useful?  Yes

Zalak Patel

  • Sep 27th, 2011
 

=Server side code get executed on the web server in the response of request for any aspx page.
=client-side code get executed on the client browser.(e.g. validation of controls, dynamically hiding and displaying some of controls or there values etc)

=The common script used for client side script is JavaScript.
=Server side code the common script is VBScript.

=Client side code validate the data before sending it to server.
=Server side code validate data to check whether sent data is correct or not.

  Was this answer useful?  Yes

Shrikant B

  • May 18th, 2016
 

A) Server Side: The code which is executed on the server side ( on the server machine) Example: asp.net.
B) Client Side: The code which is executed on the client side (on client browser/ machine) Example: JQuery/ JavaScript.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions