Ensure cookie variable is accessible