Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

TUTORIALVaadin lets you build secure, UX-first PWAs entirely in Java.
Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
CssImport when using Component Exporter by Mikhail Shabarov, 1 month ago
Cookies not reading
I am trying to read all cookies on my localhost.
But only able to read 2 of them.
Cookie[] coo = VaadinService.getCurrentRequest().getCookies(); System.out.println(coo.length); for(Cookie c : coo) { layout.addComponent(new Label(c.getValue() )); }
Not sure what I am doing wrong.
I observered that vaadin was able to read cookies only if they contained a singular value like a number.
My cookies contain JSON strings and arrays.
How do I get around this?
Last updated on
You cannot reply to this thread.