ResetSeqNumFlagflag. If subsequent Logon messages are sent during the automatic attempts to restore the telecommunication link they will be sent without this flag.
To send a Logon message with the
ResetSeqNumFlag flag, each time the Logon message is sent to set this flag in the Custom Logon message (Connecting using Custom Logon Message). The local incoming sequence number will be reset after counterparty replies with Logon message. If conterparty will reject Logon message, a local incoming sequence number still has an old value. If there is need to reset the local sequence numbers to 1 during every logon, the OnixS::FIX::Session::resetLocalSequenceNumbersOnLogon option should be set to true.
It is also possible to send a Logon (A) message with the ResetSeqNumFlag (141) set when the FIX Session is established (e.g. to maintain 24 hour connectivity), using the OnixS::FIX::Session::resetSeqNumViaLogonExchange method.