session ttl control