Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,196 of 9,196 pages
About the help in other languages
All help pages

site.ini [ASESettings]

The settings of [ASESettings] in site.ini: Layer, ODBCDriver, ApplicationName, LoginTimeout, LockTimeout, DeadlockRetries, DeadlockRetryWait, ReconnectOnLoss ...

Download as PDF

Address: https://doc.exponential.earth/learninminutes/exphelp/viewer/examples/ini-settings/site/ASESettings.md

On this page

site.ini [ASESettings]

The block [ASESettings] of settings/site.ini, with 10 setting(s).

SAP Adaptive Server Enterprise (DatabaseImplementation=ase, expASEDB): ASE 15.7 and 16.0 through FreeTDS (pdo_dblib at
TDS 5.0) or PDO_ODBC (FreeTDS's or SAP's ASE ODBC driver). Server, Port (5000), Database, User and Password come from
[DatabaseSettings]. The server's default character set should be utf8 and its logical page 16 KB (index keys of
text). NOT TESTED against an ASE server: see the driver's documentation.

Never edit settings/site.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:

  • settings/override/site.ini.append.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/site.ini.append.php for one siteaccess,
  • extension/<extension>/settings/site.ini.append.php in an extension (read when the extension is active).

Layer

auto (pdo_dblib, then pdo_odbc), pdo_dblib or pdo_odbc

Default: auto.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[ASESettings]
Layer=auto
*/ ?>

ODBCDriver

The ODBC driver of PDO_ODBC: FreeTDS (TDS_Version=5.0) or SAP's "Adaptive Server Enterprise"

Default: FreeTDS.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[ASESettings]
ODBCDriver=FreeTDS
*/ ?>

ApplicationName

The program name the server shows (sp_who)

Default: Exponential.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[ASESettings]
ApplicationName=Exponential
*/ ?>

LoginTimeout

Seconds to wait for the login

Default: 15.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[ASESettings]
LoginTimeout=15
*/ ?>

LockTimeout

Milliseconds to wait for a lock (set lock wait, in whole seconds); -1: the server's setting

Default: -1.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[ASESettings]
LockTimeout=-1
*/ ?>

DeadlockRetries

How often a single statement outside a transaction is sent again after a deadlock (1205)

Default: 3.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[ASESettings]
DeadlockRetries=3
*/ ?>

DeadlockRetryWait

Milliseconds before the first retry

Default: 50.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[ASESettings]
DeadlockRetryWait=50
*/ ?>

ReconnectOnLoss

enabled: a lost connection outside a transaction is opened again

Default: enabled.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[ASESettings]
ReconnectOnLoss=enabled
*/ ?>

InListChunkSize

Values per IN list of generateSQLINStatement()

Default: 1000.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[ASESettings]
InListChunkSize=1000
*/ ?>

EmptyStringSpace

enabled: a value of exactly one space is read as '' (ASE stores an empty string as one space)

Default: enabled.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[ASESettings]
EmptyStringSpace=enabled
*/ ?>

Generated by ./console exp:help:examples from settings/site.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x