Pi – the cookie is set on every page load if it’s not already set so there’s no need to worry about any of those scenarios.