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)
Above answer was rated as good by the following members: shramika.kanekar
RE: Explain the differences between Server-side and Client-side code?
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)
RE: Explain the differences between Server-side and Client-side code?
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.
RE: Explain the differences between Server-side and Client-side code?
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.
RE: Explain the differences between Server-side and Cl...
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
RE: Explain the differences between Server-side and Cl...
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.
RE: Explain the differences between Server-side and Client-side code?
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.