I have this LoginController in my gwt application which is use to access a login service:
service.connect(username, password);
Once the service succeeds it updates the user model:
model.setCredentials(username, password);
There is a model change listener which fetches other user data from the server when the credential is set, when the gwt application is logged in.
However, my issue is that the login is not persistent, that is the user has to log-in for every tab that is opened.
How can I implement a cookie on my gwt application.