this should check if the cookie is already set, if so, don't set it as otherwise it will bust upstream caches...