project BLF > class PAuthenticationQRA > method GetTimeOutWrapper

Description

Wrapper method for GetTimeOut.


Parameters


icGlobalSessionIdinputcharacter
oiTimeOutoutputintegerTime out in minutes.
oiReturnStatusoutputintegerReturn status of the method.


Internal usage


BLF
method Session.ApplicationLogin


program code (program1/pauthenticationqra.p)

define variable sessService as class com.qad.qra.session.ISessionService no-undo.

sessService = cast(com.qad.qra.core.GlobalServiceLocator:Current:GetInstance(
                      Progress.Lang.Class:GetClass("com.qad.qra.session.ISessionService")),
                      com.qad.qra.session.ISessionService).

sessService:Fetch (input icGlobalSessionId, output dataset-handle vhdsSession).
vhttSession = vhdsSession:get-top-buffer(1).
vhttSession:find-first() no-error.
if vhttSession:available
then oiTimeOut = vhttSession::IdleTimeout.