Title: Message
The correct way to enable session management is in your deploy.wsdd file. Add <parameter name="scope" value="Session"/> to your service deployment. To get the desired effect your clients have to enable session management as well. Use ((org.apache.axis.client.Stub) ws).setMaintainSession(true) where "ws" is your service client instance returned by the ServiceLocator class implementation in Axis client generated code terms.
 
Alex
-----Original Message-----
From: Grant Echols (JanusLogix) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 26, 2002 3:12 PM
To: [EMAIL PROTECTED]
Subject: MessageContext.setMaintainSession

I'm trying to understand the MessageContext session management and I'm confused by what its supposed to do. On the first request from a client I see that the session management is not turned on so I turn it on. On the second request the session management is still not turned on. Is there some other requirement I don't know about?
 
Thanks,
 
Grant
 

Reply via email to