BBjApplication::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 Values

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

Remarks

None.

Example

rem ' BBjApplication::getSessionTimeout

admin! = bbjapi().getAdmin("admin","admin123")

appServer! = admin!.getWebAppServer()

vector! = appServer!.getAllAppNames()

if vector!.size() then

   for i = 0 to vector!.size() - 1

       appName$ = vector!.get(i)

       app! = appServer!.getApplication(appName$)

       print appName$," getSessionTimeout: ",

       print app!.getSessionTimeout()

   next i

endif

See Also

BBjAPI

BBjAppConfig

BBjAppServer

BBjApplication

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