Skip to main content

##()##

CSP Compile-time 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 by the CSP Compiler when the CSP source file is compiled into a %CSP.PageOpens in a new tab class. The result of the expression becomes part of the executable code for the CSP page.

For example, the following HTML:


This page was last compiled on <B>##($ZDT($H,3))##</B>

Is equivalent to:


This page was last compiled on <B>2002-01-02 13:51:12</B>

When the client requests this page, the value sent will be the time when the page was compiled (not when it was requested).

FeedbackOpens in a new tab