NOAUTOON (JANUS DEFINE parameter)

From m204wiki
Revision as of 16:02, 8 March 2011 by 198.242.244.47 (talk) (Created page with "{{DISPLAYTITLE:NOAUTOON}} <span class="pageSubtitle"><section begin="desc" /><section end="desc" /></span> NOAUTOON is a parameter on JANUS DEFINE, which defines and sets ch...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<section begin="desc" /><section end="desc" />

NOAUTOON is a parameter on JANUS DEFINE, which defines and sets characteristics of a Janus port. See the List of JANUS DEFINE parameters.


This parameter prevents Janus Web Server from preceding the execution of the command specified in a JANUS WEB ON rule with an implicit $Web_On.

While for simple demo applications such as one that simply returns the results of a Model 204 VIEW command, it is convenient to have Janus Web Server perform an implicit $Web_On before issuing the command, it can be very inconvenient for other applications that perform processing such as file opens that cause Model 204 informatory or error messages to be issued. Since generally these messages are not to be sent to the browser they must either be suppressed with an explicit $Web_Off before they are issued or discarded after they are issued with a $Web_Flush. The former approach requires the extra evaluation of a User Language program and the latter pointlessly saves messages to CCATEMP only to have them discarded.

Setting NOAUTOON eliminates the need to run a stub program to issue a $Web_Off or the overhead associated with saving messages to CCATEMP only to be flushed with a $Web_Flush.

If NOAUTOON is specified for a port, it might also be useful to specify NOAUDTERM (or, starting with Version 6.0, allow it as the default) to prevent "terminal" messages from going to the audit trail (see :hdref refid=noaudt.).

The default setting for AUTOON/NOAUTOON is AUTOON.

The setting of NOAUTOON (or AUTOON) applies to all URLs on the port unless explicitly overridden by an AUTOON (or NOAUTOON) parameter on a JANUS WEB ON rule.

Valid only for WEBSERV ports.

References

See: List of Janus commands | List of JANUS DEFINE parameters.