Title: RE: SessionID

SessionId is passed as Cookies in Tomcat, by default.
Cookies are generally passed as part header in HTTP protocol.

You can use the following to get the headers of the SOAPHTTPConnection

SOAPHTTPConnection shc = (SOAPHTTPConnection) call.getSOAPTransport();
Hashtable headersTable = shc.getHeaders();

and then you can iterate through the headers Hastable.

For tomcat specifically the sessionId is of the form JSESSIONID=11E2785908D5D892A529F0B66260D175

Hope this helped you,

Arvind


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 13, 2001 10:05 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: SessionID


Hi,

can anybodyshow me how I can get the session id on the client side.
I remember on some mails in this list but there it is not shown how to get
it on the client side.

thank you

 daniel....
____________________________________________

SinnerSchrader Deutschland GmbH
Communication & Technology

mailto:[EMAIL PROTECTED]
http://www.sinnerschrader.com
fon +49.(0) 40.39 88 55-0
fax +49.(0) 40.39 88 55-55
gasstrasse 8-16 | 22761 hamburg | germany
____________________________________________
CONFIDENTIALITY NOTICE:  E-mail may contain confidential information that is legally protected.  Do not read this e-mail if you are not the intended recipient. This e-mail transmission, and any documents, files or previous e-mail messages  attached to it may contain confidential information that is legally protected.  If you are not the intended recipient or a person responsible for delivering it to the intended recipient,  you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED.  If you have received this transmission in error, please immediately notify us by reply e-mail, by forwarding this to [EMAIL PROTECTED] or by telephone at (877) PANACYA, and destroy the original transmission and its attachments without reading or saving in any manner.  Thank you.  For information about PANACYA Inc., please visit our website at http://www.panacya.com.

Reply via email to