docs.roxen.comView this page in a printer friendly mode
DocsRoxenWebServer 4.5Web Developer ManualIf Tags
Copyright  2012, Roxen Internet Software
Suggestions, comments & compliments

<if accept>
<if client>
<if clientvar>
<if config>
<if cookie>
<if date>
<if defined>
<if domain>
<if exists>
<if expr>
<if false>
<if group>
<if internal-exists>
<if ip>
<if kerberos-auth>
<if language>
<if match>
<if Match>
<if module>
<if pragma>
<if prestate>
<if referrer>
<if sizeof>
<if supports>
<if time>
<if true>
<if type-from-data>
<if type-from-filename>
<if user>
<if variable>
<if Variable>


Provided by module: Tags: RXML 2 tags

Execute the contents if the previous <if> tag didn't, or if there was a <false> tag above. This tag also detects if the page's truth value has been set to false, which occurrs whenever a runtime error is encountered. The <emit> tag, for one, signals this way when it did not loop a single time.

The result is undefined if there has been no <if>, <true>, <false> or other tag that touches the page's truth value earlier in the page.


This tag is cache static (see the <cache> tag) if the compatibility level is set to 2.5 or higher.