NOAUTODONE (JANUS DEFINE parameter): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
(Automatically generated page update)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:NOAUTODONE}}
<span class="pageSubtitle">Prevent automatic $Web_Done.</span>
<span class="pageSubtitle"><section begin="desc" />Prevent automatic $Web_Done.<section end="desc" /></span>


NOAUTODONE 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>NOAUTODONE</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 treating a return to command mode after all port and ON rules CMDs have been processed as an implicit [[$Web_Done]].  
This parameter prevents <var class="product">[[Janus Web Server]]</var> from treating a return to command mode after all port and ON rules <var>[[CMD (JANUS DEFINE parameter)|CMD]]</var>s have been processed as an implicit <var>[[$Web_Done]]</var>.  


While for simple demo applications such as one that simply returns the results of a ''Model 204'' VIEW command, it is convenient to treat the return to command mode as an implicit [[$Web_Done]], it makes error detection for more complex applications difficult. Many application problems from subsystems not being started to coding errors that cause premature exit from a procedure to invalid included procedure name to a user not being authorized to run a subsystem would cause raw ''Model 204'' error messages or, in certain cases, partial HTML pages to be returned to an end-user. By specifying NOAUTODONE on the port definition, these errors can be caught and a "neater" error page can be sent to the user. This "neater" error page could be either the standard "No $WEB_DONE" page sent by ''[[Janus Web Server]]'' or it could be one produced by a JANUS WEB ON NODONE rule.
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 treat the return to command mode as an implicit <var>$Web_Done</var>, it makes error detection for more complex applications difficult. Many application problems from subsystems not being started to coding errors that cause premature exit from a procedure to invalid included procedure name to a user not being authorized to run a subsystem would cause raw <var class="product">Model 204</var> error messages or, in certain cases, partial HTML pages to be returned to an end-user. By specifying <var>NOAUTODONE</var> on the port definition, these errors can be caught and a "neater" error page can be sent to the user. This "neater" error page could be either the standard "No $WEB_DONE" page sent by <var class="product">Janus Web Server</var> or it could be one produced by a <code>JANUS WEB ON NODONE</code> rule.


The default setting for <var>[[AUTODONE (JANUS DEFINE parameter)|AUTODONE]]</var>/NOAUTODONE is <var>AUTODONE</var>.  
The default setting for <var>[[AUTODONE (JANUS DEFINE parameter)|AUTODONE]]</var>/<var>NOAUTODONE</var> is <var>AUTODONE</var>.  


The setting of NOAUTODONE (or <var>AUTODONE</var>) applies to all URLs on the port unless explicitly overridden by an <var>AUTODONE</var> (or NOAUTODONE) parameter on a JANUS WEB ON rule. The recommended setting for this parameter is NOAUTODONE with <var>AUTODONE</var> added to any JANUS WEB ON rule where the implicit [[$Web_Done]] is really required.  
The setting of <var>NOAUTODONE</var> (or <var>AUTODONE</var>) applies to all URLs on the port unless explicitly overridden by an <var>AUTODONE</var> (or <var>NOAUTODONE</var>) parameter on a <var>[[JANUS WEB ON]]</var> rule. The recommended setting for this parameter is <var>NOAUTODONE</var> with <var>AUTODONE</var> added to any <var>JANUS WEB ON</var> rule where the implicit <var>$Web_Done</var> is really required.  


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


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


See: [[List of Janus commands]] | [[JANUS DEFINE#parmlist|List of JANUS DEFINE parameters]].


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

Latest revision as of 22:21, 16 April 2013

Prevent automatic $Web_Done.

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

This parameter prevents Janus Web Server from treating a return to command mode after all port and ON rules CMDs have been processed as an implicit $Web_Done.

While for simple demo applications such as one that simply returns the results of a Model 204 VIEW command, it is convenient to treat the return to command mode as an implicit $Web_Done, it makes error detection for more complex applications difficult. Many application problems from subsystems not being started to coding errors that cause premature exit from a procedure to invalid included procedure name to a user not being authorized to run a subsystem would cause raw Model 204 error messages or, in certain cases, partial HTML pages to be returned to an end-user. By specifying NOAUTODONE on the port definition, these errors can be caught and a "neater" error page can be sent to the user. This "neater" error page could be either the standard "No $WEB_DONE" page sent by Janus Web Server or it could be one produced by a JANUS WEB ON NODONE rule.

The default setting for AUTODONE/NOAUTODONE is AUTODONE.

The setting of NOAUTODONE (or AUTODONE) applies to all URLs on the port unless explicitly overridden by an AUTODONE (or NOAUTODONE) parameter on a JANUS WEB ON rule. The recommended setting for this parameter is NOAUTODONE with AUTODONE added to any JANUS WEB ON rule where the implicit $Web_Done is really required.

Valid only for WEBSERV ports.

See also