MSGSEND and NOMSGSEND (JANUS DEFINE parameters)

From m204wiki
Revision as of 22:18, 16 April 2013 by JALWiccan (talk | contribs) (Automatically generated page update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Enable/Disable sending of 204 messages to web browser.

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

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

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.

See also