Logon seq number after failed logon

Imported from previous forum

Consider a scenario:
If OMS disconnects abruptly in between session and lets assume LAST incoming sequence number for FIX server is 11 (next EXPECTED seq is 12).
Now when OMS tries to connect again and uses 11 as sequnce number in Logon message, the FIX server will reject the message.
My question is will FIX server, for this received Logon message, increment it’s exepected incoming sequnce number(i.e. after this logon message, will EXPECTED sequence number in FIX server be 13?

Sujay,

Your question is pretty simple. If the fix server rejects the message(session level, 35=3), it will result in the increment of its own outbound sequence number but in no way it will consume the expected incoming sequence number. Hence, the expected incoming by the fix server will still stand at 12. Hope this clarifies.

Regards,
Sunil