{
SwingWebSession swSession = (SwingWebSession) obj;
if (swSession == null)
{
swSession = (SwingWebSession) createSession(_manager.getContext(), session);
swSession.addListener(this);
swSession.putValue("SWINGWEB_SESSION_ID", String.valueOf(System.currentTimeMillis()));
session.setAttribute(uri, swSession);
swSession.putAllValues(env);
swSession.putValue("HTTP_FORM", form);
swSession.putValue("HTTP_SESSION", session);