BBjAppServer::getSessionTimeout

Description

In BBj 12.0 and higher, this method returns the length of time in seconds a non-responsive BUI session will be considered active. If the session expires without 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 Value

Returns the number of seconds a non-responsive BUI session will be considered inactive.

Remarks

None.

Example

rem ' BBjAppServer::getSessionTimeout

admin! = bbjapi().getAdmin("admin","admin123")
appServer! = admin!.getWebAppServer()
print "getSessionTimeout:",
print appServer!.getSessionTimeout()," seconds."

See Also

BBjAPI

BBjAppServer

BBjAppServer::setSessionTimeout

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