public Cookie getSessionCookie(HttpSession session, String contextPath, boolean requestIsSecure)
{
// if (_handler.isUsingCookies())
// { what's the jetty6 counterpart for isUsingCookies? - nik
Cookie cookie = _handler.getSessionManager().getHttpOnly() ? new HttpOnlyCookie(SessionManager.__SessionCookieProperty, session.getId()) : new Cookie(
SessionManager.__SessionCookieProperty, session.getId());
String domain = getServletContext().getInitParameter(SessionManager.__SessionDomainProperty);
String maxAge = getServletContext().getInitParameter(SessionManager.__MaxAgeProperty);
String path = getServletContext().getInitParameter(SessionManager.__SessionPathProperty);
if (path == null)