Connect Acknowledge Flags
If the Server accepts a connection with CleanSession set to 1, the Server MUST set Session Present to 0 in the CONNACK packet in addition to setting a zero return code in the CONNACK packet.
See Implementation
Connect Acknowledge Flags