[Quickfix-developers] Duplicate logon attempt handling
Brought to you by:
orenmnero
From: Howard E. <ho...@ex...> - 2003-11-04 18:42:40
|
Testing my fix server under the following circumstances seems to put quickfix into an erratic state. A user logons on with a SessionId (FIX.4.2:SBI0->SLGM0) and sends in some orders. Then that users starts a second logon with the same SessionID. I never see this second Logon attempt in my App class's fromAdmin or onLogon overrides, however, my App class does receive the onLogout event twice (both times with the same SessionID). Furthermore, the second session is disconnected, however I continue to see heartbeats being received from the User's First fix client in the FIX incoming log, however I do not receive these in the fromAdmin override, and I do not see anything in my FIX outgoing log. Ideally, in this situation, if I receive a Logon Request for a Session that I currently belive to be alive, I would like to drop the first session, and then handle the LogonRequest. If not that, then I'd at least like to be able to Reject the second logon attempt. However, since I never receive the fromAdmin it doesn't seem like there's anything I can do either way. Any help would be appreciated. Thanks, -H |