Skip to main content
Next section

#()#

CSP Runtime Expression

Synopsis


#(expr)#

Description

The #()# directive allows you place an expression within the body of a CSP page. This expression is evaluated on the server when the page is requested by a client. The result of the expression is sent to the client as part of the HTTP response.

For example, the following HTML:

The value of <I>x</I> is: <B>#(x)#</B>
Copy code to clipboard

Is equivalent to:

<SCRIPT LANGUAGE="CACHE" RUNAT="SERVER">
 Write "The value of <I>x</I> is: <B>",x,"</B>"
</SCRIPT>
Copy code to clipboard