axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jill Heck <>
Subject RE: Session ID from Axis
Date Thu, 30 May 2002 20:37:43 GMT
thanks. i keep forgetting about the AxisServlet. i was debugging the actual
session object and looking at that api.... it works perfectly. 

-----Original Message-----
Sent: Thursday, May 30, 2002 6:44 AM
Subject: RE: Session ID from Axis

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

msgContext.setProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST, req) 

So, something like: 

(HTTPConstants.MC_HTTP_SERVLETREQUEST)).getSession.getId() should do it. 


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


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? 


View raw message