Skip to content

Commit

Permalink
Rebasing: Use stateless flag from toolkit.ini it is present to overri…
Browse files Browse the repository at this point in the history
…de 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.
  • Loading branch information
Scott-Cam committed Nov 6, 2016
1 parent 57da8db commit bcacdc6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions ToolkitApi/toolkit.ini
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,13 @@ dataStructureIntegrity = true
; For backward compatibility with pre-1.4.0, set to false.
arrayIntegrity = true

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

[transport]
; transport type allows configuration of transport from this INI.
Expand Down

0 comments on commit bcacdc6

Please sign in to comment.