LoginTimeOut – PB Docs 126

LoginTimeOut database parameter

Description

Specifies the number of seconds the JDBC or ODBC driver should
wait for a login request to a JDBC database or an ODBC data source.

Controls

  • JDB JDBC

  • ODBC (if driver and back-end DBMS support this feature)

Syntax

Parameter

Description

value

The number of seconds you want the driver
to wait for a login request

Default

ODBC: LoginTimeOut=15; JDBC: LoginTimeOut=0

Usage

If you set LoginTimeOut to 0, PowerBuilder does not call the
JDBC or ODBC driver to set the LoginTimeOut value and instead waits
the number of seconds specified by the JDBC or ODBC driver’s
client software. If you set LoginTimeOut to a value greater than
0, PowerBuilder does call the JDBC or ODBC driver to set the LoginTimeOut
value.

Examples

To set the LoginTimeOut value to wait 60 seconds
for a login request:

  • Database
    profile

    Type 60 in the Login Timeout box on the Network page in the
    Database Profile Setup dialog box.

  • Application

    Type the following in code:


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x