axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jill Heck <JH...@lendx.com>
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. 
 
jill

-----Original Message-----
From: thomas.cherel@ascentialsoftware.com
[mailto:thomas.cherel@ascentialsoftware.com]
Sent: Thursday, May 30, 2002 6:44 AM
To: axis-user@xml.apache.org
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/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:JHeck@lendx.com <mailto:JHeck@lendx.com> ] 
Sent: Wednesday, May 29, 2002 7:05 PM 
To: 'axis-user@xml.apache.org' 
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 


Mime
View raw message