public HttpSession getSession(boolean create)
public HttpSession getSession()
    public HttpSession getSession(boolean create)    {        if (_session != null && _session.getId()!=null)            return _session;                _session=null;                String id=getRequestedSessionId();                if (id != null && _sessionManager!=null)        {            _session=_sessionManager.getHttpSession(id);            if (_session == null && !create)                return null;        }                if (_session == null && _sessionManager!=null && create)        {            _session=_sessionManager.newHttpSession(this);            Cookie cookie=_sessionManager.getSessionCookie(_session,getContextPath(),isSecure());            if (cookie!=null)                _connection.getResponse().addCookie(cookie);        }                return _session;    }