NEWSESNOCLEARG (JANUS DEFINE parameter)

From m204wiki
Jump to navigation Jump to search

Don't clear globals at completion of NEWSESCMD processing.

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

This parameter indicates that GTBL is not to be cleared at the end of NEWSESCMD command processing. It is useful if there is a need to pass data via GTBL between programs run as part of NEWSESCMD processing and programs run as part of request processing after the NEWSESCMD commands.

If NEWSESNOCLEARG is specified, special care should be taken that passwords or other secure pieces of information are not stored in GTBL, as it raises the slight possibility that they will be accidentally exposed by application processing.

NEWSESNOCLEARG has no meaning unless a NEWSESCMD clause is also specified on the port definition.

Valid for SRVSOCK and WEBSERV port types.

See also