project BLF > class PAuthenticationQRA > method GetTimeOutWrapper
Description
Wrapper method for GetTimeOut.
Parameters
icGlobalSessionId | input | character | |
oiTimeOut | output | integer | Time out in minutes. |
oiReturnStatus | output | integer | Return status of the method. |
Internal usage
BLF
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.