ServiceStack update session on heartbeat
<p>There is a case in my ServiceStack app that uses <code>ServerEventsFeature</code> where I would like to update session\user info during users heartbeats.  </p>

<p>The problem is that in the feature a handler for <code>OnHeartbeatInit</code> will return a random ID that is not connected to any session in my sessions cache, for example for ONE authenticated client:</p>

<pre><code>OnHeartbeatInit = req =&gt;
{
    var userSession = req.GetSession();
    var sessionKey = SessionFeature.GetSessionKey(req.GetSessionId());
    //will be XXXXXXXXXXXXXXX
    var cache = Container.Resolve&lt;ICacheClient&gt;();
    var sessionPattern = IdUtils.CreateUrn&lt;IAuthSession&gt;("");
    var sessionKeys = cache.GetKeysStartingWith(sessionPattern).ToList();
    var allSessions = cache.GetAll&lt;IAuthSession&gt;(sessionKeys);
    var cacheSes = allSessions.FirstOrDefault().Key;
    //will be YYYYYYYYYYYYYYYY
}
</code></pre>

<p>So is there any way to update the session\user during heartbeat?</p>