Skip to content

Commit bcacdc6

Browse files
committed
Rebasing: Use stateless flag from toolkit.ini it is present to override value in
$_options array. Add to constructor by adding to the array in getOptionalParams. Change default stateless flag to flase in the toolkit.ini to match existing functionality Add second stateless flag for XML toolkit. Check if call is being made from compatibility wrapper and use appropriate stateless flag.
1 parent 57da8db commit bcacdc6

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

ToolkitApi/toolkit.ini

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,13 @@ dataStructureIntegrity = true
6060
; For backward compatibility with pre-1.4.0, set to false.
6161
arrayIntegrity = true
6262

63-
; CW only: stateless mode is default for i5_connect (though automatically overridden if private conns are used)
64-
stateless = true
63+
; CW stateless flag
64+
; stateless mode is default for i5_connect (though automatically overridden if private conns are used)
65+
stateless = false
66+
; Non-CW Stateless flag - default to true
67+
; This should be overridden if you require stateful connections
68+
; Set the default value of 'stateless' to true, for the regular toolkit (not CW).
69+
stateless_mode_default = true
6570

6671
[transport]
6772
; transport type allows configuration of transport from this INI.

0 commit comments

Comments
 (0)