BBjAppConfig::getSessionTimeout

Description

In BBj 12.0 and higher, this method returns the number of seconds a non-responsive BUI application 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

int

getSessionTimeout()

Parameters

None.

Return Values

Returns the number of seconds a non-responsive BUI application will be considered active.

Remarks

None.

Example

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

See Also

BBjAPI

BBjAppConfig

BBjAppConfig::setSessionTimeout

BBjAppServer

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