stu
Active Member
Hi All,
We are creating a background login connection using the JDB_InitEnvOvr() E1 function. The purpose of the connection is to launch UBEs under a different login ID other than the current user’s ID. The new background connection is kept open for long periods of time, but in some cases the connection times out (per our 30 minute INI setting). If the program attempts to use the connection, a fatal error is displayed to the user and forces the user to exit the application. Is there any way to validate the user handle / connection generated by the JDB_InitEnvOvr() function call is active before using it?
Attached is the code that is creating the new login connection.
Thanks in advance.
We are creating a background login connection using the JDB_InitEnvOvr() E1 function. The purpose of the connection is to launch UBEs under a different login ID other than the current user’s ID. The new background connection is kept open for long periods of time, but in some cases the connection times out (per our 30 minute INI setting). If the program attempts to use the connection, a fatal error is displayed to the user and forces the user to exit the application. Is there any way to validate the user handle / connection generated by the JDB_InitEnvOvr() function call is active before using it?
Attached is the code that is creating the new login connection.
Thanks in advance.