# Reject a Logout Message or Disconnect?

**URL:** <https://forum.fixtrading.org/t/reject-a-logout-message-or-disconnect/15352>\
**Category:** General Q&A\
**Created:** [September 24, 2020, 1:29pm UTC](https://forum.fixtrading.org/t/reject-a-logout-message-or-disconnect/15352 "2020-09-24T13:29:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bambagion](https://avatars.discourse-cdn.com/v4/letter/b/47e85d/32.png) [@bambagion](https://forum.fixtrading.org/u/bambagion)\
**Post date:** [September 24, 2020, 1:29pm UTC](https://forum.fixtrading.org/t/reject-a-logout-message-or-disconnect/15352/1 "2020-09-24T13:29:48Z")

</div>

Hi,  
We developed an application that’s running as FIX Acceptor.

The FIX Acceptor received a Logout with an unexpected TAG 554-Password, which it managed as a normal logout (ignoring the TAG 554).

This behavior is probably incorrect.  
What is the correct behavior:

- refuse the Logout with an Admin Reject (keeping the session active)
- disconnect the Initiator without sending back the Logout Response

Is it a good practice to refuse a logout?

Thanks & regards  
Pierangelo

---

<div class="post-metadata">

**Author:** ![hanno.klein](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.fixtrading.org/hanno.klein/32/38_2.png) [@hanno.klein](https://forum.fixtrading.org/u/hanno.klein)\
**Post date:** [September 24, 2020, 7:18pm UTC](https://forum.fixtrading.org/t/reject-a-logout-message-or-disconnect/15352/2 "2020-09-24T19:18:39Z")

</div>

It is good practice to be as FIX compliant as possible whilst tolerating non-compliant behaviour from your counterparties to avoid operational issues but logging such behaviour, adding a remark to Text(58) in your Logout(35=5) message and raising it as an issue afterwards. Password(554) is not part of the Logout(35=5) message and should not be sent in this message type.

The response for other message types would be to send a Reject(35=3) with SessionRejectReason(373)=2 (Tag not defined for this message type).

---

<div class="post-metadata">

**Author:** ![bambagion](https://avatars.discourse-cdn.com/v4/letter/b/47e85d/32.png) [@bambagion](https://forum.fixtrading.org/u/bambagion)\
**Post date:** [September 25, 2020, 8:32am UTC](https://forum.fixtrading.org/t/reject-a-logout-message-or-disconnect/15352/3 "2020-09-25T08:32:06Z")

</div>

Hi, Hanno,  
thanks for the quick and clear reply.

Pierangelo
