Comment
|
Sorry, right now the only way to do this is to define a
server. or constant. variable and hard-code it.
For example, we like to use a module named env.stml, which
we don't ever copy from test to production or server-to-
server (unless we're upgrading the contents, then do it
carefully).
Inside env.stml, you can have:
<tedeclare Constant.IPAddress text 15 data="192.168.25.67">
Then anywhere in your application, just refer to
constant.ipaddress to utilize the value (no active session
is needed to reference a server. or constant. variable.
The difference between a server. and constant. variable is
that the server variable can be changed in script, while
constant variables can only be set in the declaration and
are readonly in scripts.
|