org.apache.axis.MessageContext mctx =
org.apache.axis.MessageContext.getCurrentContext();
org.apache.axis.transport.http.AxisHttpSession ses = mctx.getSession();
ses.set("HELLO","Hello, World!");
i think, it's described anywhere in the faq.
klaus
Am Freitag, 10. Januar 2003 18:31 schrieb Chris Forbis:
> Umm nice. So on the server side I could attach attributes to the session
> like with a servlet?
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 10, 2003 1:00 PM
> To: [EMAIL PROTECTED]
> Subject: RE: HTTPSession/Tomcat and Axis
>
> This is exactly what is happening if you deploy your web service in Axis
> with a session scope.
> -----Original Message-----
> From: Chris Forbis [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 10, 2003 12:15 PM
> To: [EMAIL PROTECTED]
> Subject: HTTPSession/Tomcat and Axis
> I have been looking for information on this for a while, and have not seen
> anything good on it.
>
> So I wanted to get a thread going of how this could be done...
>
> Many users of Axis run it on tomcat or jetty. Both of these make a session
> for EVERY connection to them that does not already have one. Tomcat sends
> a cookie with the SessionID back with ever HTTP request. What would it
> take to get Axis to support using these SessionID's and return them back
> with each request. Then allow for the server to get access to them. This
> would allow for a true http session to be used.
>
> Ideas?
>
> Thanks
> +Chris
--
--
Klaus Thiele - Personal & Informatik AG
mailto:[EMAIL PROTECTED]
"Your mouse has moved.
Windows must be restarted for the change to take effect."