Simple question: How does one clear default session cookie that has been set automatically by Vaadin.
I’m just creating very simple form where user submits name, phone and other good stuff but after submission I would like to clear start clear. How do I do that?
We use the following method in our application class:
public void logout() {
((WebApplicationContext)getContext()).getHttpSession().invalidate();
}
The close() - method doesn’t do the trick for us, because it doesn’t actually touch the session and we have other things depending on it. Spring session scoped beans, for instance.