I am new to gwt and I am creating a login page using gwt and I need help with session managment.
All answers already given here, explains how to manage sessions on s
If you mean controlling instance of HttpSession on client-side, simply you cannot control the session on client-side since it lives on server-side. For controlling the session you have to call to the server-side with asynchronous callbacks or with another technique. Read this tutorial: Communicating with a Server in GWT On server side implementation you can set any attribute to session
HttpSession session = this.getThreadLocalRequest().getSession();
session.setAttribute("UserName", userName);
Or if you mean Client side web sessions, you can control them with Cookies.