diff --git a/Source/MQTTnet/Server/Internal/MqttClientSession.cs b/Source/MQTTnet/Server/Internal/MqttClientSession.cs
index 3f68fdfd..291b3e5a 100644
--- a/Source/MQTTnet/Server/Internal/MqttClientSession.cs
+++ b/Source/MQTTnet/Server/Internal/MqttClientSession.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
using System.Collections.Generic;
using MQTTnet.Server.Status;
@@ -8,24 +8,34 @@ namespace MQTTnet.Server.Internal
{
readonly DateTime _createdTimestamp = DateTime.UtcNow;
+ ///
+ /// Session should persist if CleanSession was set to false (Mqtt3) or if SessionExpiryInterval != 0 (Mqtt5)
+ ///
+ readonly bool _isPersistent;
+
public MqttClientSession(
string clientId,
IDictionary