|
<< Click to Display Table of Contents >> Navigation: Classes > TIWSessionOptions > Properties > LockSessionTimeout |
this property represents the time IW will wait before rejecting a request for a locked session. This shouldn't happen in normal circumstances, but it is possible that the same session receives 2 requests which require session locking. So, imagine this scenario:
- Request 1 locks session "A"
- Session "A" starts processing request 1 and generating a new response
- Request 2 is received also requiring session "A"
- Session "A" can't be locked again, so request 2 is put on hold until request 1 is completed
- The wait time can be up to "LockSessionTimeout" milliseconds, i.e. after 30000 milliseconds, if Request 1 is not yet completed, IW server will respond to Request 2 with an error, so it will know that the server can't respond to that request at that time
Default value is 30000 milliseconds
SIGNATURE=IWServerControllerBase.TIWSessionOptions.LockSessionTimeout
ETYPE=Property
Declaration:
Delphi: |
published property LockSessionTimeout: Cardinal; |
C++: |
__published: __property unsigned LockSessionTimeout; |
Description: This is LockSessionTimeout, a member of class TIWSessionOptions.