MSGSEND and NOMSGSEND (JANUS DEFINE parameters)

From m204wiki
Revision as of 16:02, 8 March 2011 by 198.242.244.47 (talk) (Created page with "{{DISPLAYTITLE:MSGSEND and NOMSGSEND}} <span class="pageSubtitle"><section begin="desc" />and NOMSGSEND<section end="desc" /></span> MSGSEND and NOMSGSEND are parameters on [[JA...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

MSGSEND and NOMSGSEND are parameters on JANUS DEFINE, whichs define and sets characteristics of a Janus port. See the List of JANUS DEFINE parameters.

Indicates whether or not Model 204 messages (as opposed to the output from PRINT or HTML statements) are to be sent to the browser.

These parameters are only available in Sirius Mods Version 6.0 and later. For backward compatibility, the default for this parameter is MSGSEND, though NOMSGSEND is probably more useful for most applications.

Model 204 messages include informatory messages such as those issued when a file is opened or closed, error messages, and messages and warnings from other users sent by MSG or WARN commands. MSGSEND or NOMSGSEND can be overridden by a MSGSEND or NOMSGSEND parameter in a JANUS WEB ON rule or in a $Web_Set call.

It is probably a good idea to set NOMSGSEND in the JANUS DEFINE command, then specify MSGSEND in the ON rules for the few URLs (in $Web_Set calls for the few applications) where it is desirable to have Model 204 messages sent to the browser.

Valid only for WEBSERV ports.

References

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