BBjAppConfig::setSessionTimeout

Description

In BBj 12.0 and higher, this method sets the length of time in seconds a non-responsive BUI session will be considered active. If this time passes with no response, the web tier will send a NET_DROPPED error back to the server. The default value is 300 seconds (5 minutes). -1 corresponds to no timeout.

Syntax

Return Value

Method

void

setSessionTimeout(int timeout)

Parameters

Variable

Description

timeout

The number of seconds a non-responsive BUI session will be considered active.

Return Values

None.

Remarks

None.

Example

rem ' BBjAppConfig::setSessionTimeout

admin! = bbjapi().getAdmin("admin","admin123")
appServer! = admin!.getWebAppServer()
appConfig! = appServer!.makeEmptyAppConfig()
appConfig!.setSessionTimeout(600)
print "setSessionTimeout:",appConfig!.getSessionTimeout()

See Also

BBjAPI

BBjAppConfig

BBjAppConfig::getSessionTimeout

BBjAppServer

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.