NOAUTOON (JANUS DEFINE parameter): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
(Automatically generated page update)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:NOAUTOON}}
<span class="pageSubtitle">Start in $Web_Off mode</span>
<span class="pageSubtitle"><section begin="desc" />Start in $Web_Off mode.<section end="desc" /></span>


<var>NOAUTOON</var> is a parameter on [[JANUS DEFINE]], which defines and sets characteristics of a Janus port. See the [[JANUS DEFINE#parmlist|List of JANUS DEFINE parameters]].
<var>NOAUTOON</var> is a parameter on <var>[[JANUS DEFINE]]</var>, which defines and sets characteristics of a Janus port.  


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]].  
This parameter prevents <var class="product">[[Janus Web Server]]</var> from preceding the execution of the command specified in a <var>[[JANUS WEB ON]]</var> rule with an implicit <var>[[$Web_On]]</var>.  


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.  
While for simple demo applications such as one that simply returns the results of a <var class="product">Model 204</var> VIEW command, it is convenient to have <var class="product">Janus Web Server</var> perform an implicit <var>$Web_On</var> before issuing the command, it can be very inconvenient for other applications that perform processing such as file opens that cause <var class="product">Model 204</var> 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 <var>[[$Web_Off]]</var> before they are issued or discarded after they are issued with a <var>[[$Web_Flush]]</var>. The former approach requires the extra evaluation of a <var class="product">User Language</var> program and the latter pointlessly saves messages to CCATEMP only to have them discarded.  


Setting <var>NOAUTOON</var> 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.  
Setting <var>NOAUTOON</var> eliminates the need to run a stub program to issue a <var>$Web_Off</var> or the overhead associated with saving messages to CCATEMP only to be flushed with a <var>$Web_Flush</var>.  


If <var>NOAUTOON</var> is specified for a port, it might also be useful to specify <var>[[NOAUDTERM (JANUS DEFINE parameter)|NOAUDTERM]]</var> (or allow it as the default) to prevent "terminal" messages from going to the audit trail.
If <var>NOAUTOON</var> is specified for a port, it might also be useful to specify <var>[[NOAUDTERM (JANUS DEFINE parameter)|NOAUDTERM]]</var> (or allow it as the default) to prevent "terminal" messages from going to the audit trail.
Line 16: Line 15:
The setting of <var>NOAUTOON</var> (or <var>AUTOON</var>) applies to all URLs on the port unless explicitly overridden by an <var>AUTOON</var> (or <var>NOAUTOON</var>) parameter on a JANUS WEB ON rule.  
The setting of <var>NOAUTOON</var> (or <var>AUTOON</var>) applies to all URLs on the port unless explicitly overridden by an <var>AUTOON</var> (or <var>NOAUTOON</var>) parameter on a JANUS WEB ON rule.  


Valid only for WEBSERV ports.
Valid only for <var>[[JANUS DEFINE#type|WEBSERV]]</var> ports.


==References==
==See also==
 
<ul>
See: [[List of Janus commands]] | [[JANUS DEFINE#parmlist|List of JANUS DEFINE parameters]].
<li>[[List of Janus commands]]
<li>[[JANUS DEFINE#parmlist|List of JANUS DEFINE parameters]]
</ul>


[[Category:JANUS DEFINE parameters|NOAUTOON]]
[[Category:JANUS DEFINE parameters|NOAUTOON]]

Latest revision as of 22:21, 16 April 2013

Start in $Web_Off mode

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

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 allow it as the default) to prevent "terminal" messages from going to the audit trail.

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.

See also