updateSessionCount

fun updateSessionCount(sessionCount: Long, seq: Long): Boolean

updateSessionCount updates the session count and sequence number if the sequence is newer. Returns true if the session count was updated, false if the update was ignored.