STIMEOUT (JANUS DEFINE parameter)

From m204wiki
Revision as of 16:12, 14 March 2011 by Alan (talk | contribs)
Jump to navigation Jump to search

<section begin="desc" />STIMEOUT seconds -- legacy thread timeout seconds<section end="desc" />

STIMEOUT is a parameter on JANUS DEFINE, which defines and sets characteristics of a Janus port. See the List of JANUS DEFINE parameters.

This parameter sets the number of seconds of inactivity after which a Janus Web Legacy session is terminated. Since it is quite easy for an end-user to start a 3270 session in a browser and forget about it, a session timeout is essential to prevent all available sdaemon threads from being eaten up by forgotten 3270 sessions. The default STIMEOUT setting for a port is 900 (seconds) or 15 minutes. The STIMEOUT parameter can be overridden by an STIMEOUT parameter specified on a JANUS WEB SCREEN command or by a $Web_Screen function call, both described in the Janus Web Server Reference Manual.

Valid only for WEBSERV ports.

References

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