Skip to main content

#()#

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>

Is equivalent to:


<SCRIPT LANGUAGE="CACHE" RUNAT="SERVER">
 Write "The value of <I>x</I> is: <B>",x,"</B>"
</SCRIPT>
FeedbackOpens in a new tab