# Sequence number resetting and Logont message

**URL:** <https://forum.fixtrading.org/t/sequence-number-resetting-and-logont-message/13121>\
**Category:** General Q&A\
**Tags:** imported, 40-session, xid\_164771\
**Created:** [September 16, 1997, 1:10am UTC](https://forum.fixtrading.org/t/sequence-number-resetting-and-logont-message/13121 "1997-09-16T01:10:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fplpo\_x](https://avatars.discourse-cdn.com/v4/letter/f/7ab992/32.png) [@fplpo\_x](https://forum.fixtrading.org/u/fplpo_x)\
**Post date:** [September 16, 1997, 1:10am UTC](https://forum.fixtrading.org/t/sequence-number-resetting-and-logont-message/13121/1 "1997-09-16T01:10:00Z")

</div>

Imported from previous forum

---

<div class="post-metadata">

**Author:** ![fplpo\_x](https://avatars.discourse-cdn.com/v4/letter/f/7ab992/32.png) [@fplpo\_x](https://forum.fixtrading.org/u/fplpo_x)\
**Post date:** [September 16, 1997, 1:10am UTC](https://forum.fixtrading.org/t/sequence-number-resetting-and-logont-message/13121/2 "1997-09-16T01:10:00Z")

</div>

[original email was from Paolo Aloe -]  
In our implementation, when the process that is serving a FIX session detects that an abnormal condition occurred in the rest of the system which would make it impossible to “safely” continue the session, it sends a Logout message with a brief explanatory text and closes the session. When the abnormal condition has been corrected, the process detects it and either starts listening again for incoming connections if it’s on the server side or tries to reconnect if it’s on the client side. In either case sequence numbers definitely should not be reset. Otherwise, as Bob pointed out, we would lose the ability to resend messages exchanged before the Logout message.
