answersLogoWhite

0

var clientSideVar = <%=serverSideVar%>; // if it's number

var clientSideVar = '<%=serverSideVar%>'; // if it's string

var clientSideVar = <%=serverSideVar.ToString().ToLower()%>; / if it's boolean

User Avatar

Wiki User

16y ago

What else can I help you with?

Continue Learning about Engineering

What is client side usage in xml?

XML does not have the concept of client-side/server-side.


What is client server approach of c plus plus?

Client/server programs typically employ multi-threading where the primary thread handles the server side of things while one or more threads handle the client side.


What is a client-side parser?

In general, a parser is a tool that interprets code.We talk about server-side parsers if those tools parse the code they receive before sending a result (i.e. the web page) to the client PC, while client-side parsers process code directly on the client PC.PHP is an example language that is parsed server-side, JavaScript is an example for a client-side language.


What is the difference between client side scripting and server side scripting languages?

Best Practice : Use both The Cons of using one or the other : With client side validation only, if a user disables JavaScript, then no validation will occur. With server side validation only, there are more return trips to the server which in turns uses more resources and slows down the site when a client side script could have done the validation without the server. The Pros of having both : The data will always be validated, whether or not the client has JavaScript enabled or not. There will be less server strain with the client side validation. The client can fix form errors faster with instant client side notifications. The data will have a bit more integrity going through the dual validation process.


What are client side and server side scripting?

Client side scripting is a script, (ex. Javascript, VB script), that is executed by the browser (i.e. Firefox, Internet Explorer, Safari, Opera, etc.) that resides at the user computer. Server side scripting, (ex. ASP.Net, ASP, JSP, PHP, Ruby, or others), is executed by the server (Web Server), and the page that is sent to the browser is produced by the serve-side scripting. So when a server sends out a page, it executes server-side scripts, but does not execute client-side scripts. Once the browser receives the page, it executes the client-side scripts. Server side scripting can connect to databases that reside on the web server or another server reachable from web server. Client side scripting cannot do that. Server side scripting can access the file system that reside at the web server, client side cannot. Server side scripting can access settings belong to Web server while client side cannot. Client side scripting can access files and settings that are local at the user computer. Client side scripting consumes cycles from user's computer not web server one, while server side scripting consumes cycles form web server one.

Related Questions

What is client side usage in xml?

XML does not have the concept of client-side/server-side.


Is ruby programming client side or server side?

Ruby is a server-side language.


What does server side relate to in the computer industry?

In the computer industry, server side refers to the operations performed by a server in a server-client computer relationship. The server side typically handles many functions to lighten the load of the client side's work.


What is client server approach of c plus plus?

Client/server programs typically employ multi-threading where the primary thread handles the server side of things while one or more threads handle the client side.


Is Java a Client or Server side scripting language?

Both. It runs on the browser but can request from a Server. Similarly to Ajax the side is unclear. Client side is the best fit with requests.


What is meant by client-side processing?

Processing that is done on the client computer instead of the server computer. Most online multi-player games use client side processing to reduce server load and performance.


What is meant by client side processing?

Processing that is done on the client computer instead of the server computer. Most online multi-player games use client side processing to reduce server load and performance.


What is a Client PC and server?

server side is the system which communicates the other interconnected group of systems


What is Client Server mechanism?

Client side (web browser) where user types his/her query and web browser sends request to server side (multiple data provider) reads the query and in response provides respective data to the client in HTML format. its a repetitive cycle called request and response between client and server.


What is a client-side parser?

In general, a parser is a tool that interprets code.We talk about server-side parsers if those tools parse the code they receive before sending a result (i.e. the web page) to the client PC, while client-side parsers process code directly on the client PC.PHP is an example language that is parsed server-side, JavaScript is an example for a client-side language.


What is a client side parser?

In general, a parser is a tool that interprets code.We talk about server-side parsers if those tools parse the code they receive before sending a result (i.e. the web page) to the client PC, while client-side parsers process code directly on the client PC.PHP is an example language that is parsed server-side, JavaScript is an example for a client-side language.


What is client-side scripting language?

A server-side scripting language is one that resides on the server. Whereas client-side scripting happens inside the users browser, after they've downloaded the code, server-side languages work before the file is sent from the server. Server-side languages tend to deal with more "heavy lifting" than client side. They retrieve records from databases, maintain state over the stateless HTTP connection, and do a lot of things that require more security than JavaScript alone can provide. Because they reside on the server, these programs never have their source code exposed to the user. JavaScript source code must be available to the client by definition. Some server-side languages are: C, PHP, Ruby, Python, JavaServer Pages, ColdFusion, ASP, and Perl.