The parser has no knowledge of servlets, so it is outside its domain to
handle session tracking.  This is what the servlet API is responsible for.
Now if you just want to retrieve the session ID from the servlet engine and
store it in an XML format, there is no reason you couldn't do this with the
parser.

- Sean T.

-----Original Message-----
From: Cook, John [mailto:[EMAIL PROTECTED]
Sent: Monday, February 28, 2000 7:18 AM
To: '[EMAIL PROTECTED]'
Subject: Is there a way to have the DOMParser handle HTTP cookies?


I am using the xerces-J DOMParse in this way:

        DOMParser parser = new DOMParser();
            ...
        parser.parse(strURL);
        Document document = parser.getDocument();

Since I am using the parser to make requests of a JSDK servlet, I would like
to have the parser track the session cookie.  While I could use the
alternative method of passing a session ID in the name/value pairs, I wanted
to see if the parser had support for cookies.  Does anyone know if there is
such support, and if so, how is it enabled.

Thanks

John        

Reply via email to