Title: RE: Session ID from Axis

The HttpRequest object is stored "as is" in the message context property bag. See org/apache/axis/transport/http/AxisServlet.java line 273:

msgContext.setProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST, req)

So, something like:

((HttpServletRequest)msgContext.getProperty (HTTPConstants.MC_HTTP_SERVLETREQUEST)).getSession.getId() should do it.

Thomas

-----Original Message-----
From: Jill Heck [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 29, 2002 7:05 PM
To: '[EMAIL PROTECTED]'
Subject: Session ID from Axis


hi,

i'm trying to figure out how to get the session id that is stored in the
Session object that Axis creates. there are no methods to get the "rep" or
"req" objects out of AxisHttpSession. the only thing i really have available
is the timeout and get/set attribute fields.

i want to use the session id for tracking purposes. am i missing something?

jill

Reply via email to