logo       

RE: Session ID from Axis: msg#00748

Subject: RE: Session ID from Axis
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@xxxxxxxxxxxxxxxxxxxxx [mailto:thomas.cherel@xxxxxxxxxxxxxxxxxxxxx]
Sent: Thursday, May 30, 2002 6:44 AM
To: axis-user@xxxxxxxxxxxxxx
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@xxxxxxxxx]
Sent: Wednesday, May 29, 2002 7:05 PM
To: 'axis-user@xxxxxxxxxxxxxx'
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

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe