#3 The solution with the CookieComponent was already right as it seems. There was only a mistake with the read method as it appears. Now test it productively again before the issue is closed.