There's no need to call setMaintainSession() more than once to keep the
session alive, provided you're using the same service instance on successive
calls. (I've tried this, so I know it works.)

>  -----Original Message-----
> From:         Hainer Neil [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, February 25, 2003 4:10 PM
> To:   AXIS User
> Subject:      Code for Session Scope
> 
> Hi,
> 
> I'm confused about the following:
> 
> I have a service which has it's scope set to "session".  Do I still code:
> 
> service object.setMaintainSession(true); 
> 
> between method invocations to keep the original session alive?
> 
> Thanks,
> 
> Neil
> 
>     Neil Hainer
>  << OLE Object: Picture (Metafile) >> 
>     8283 Greensboro Drive
>     McLean, Virginia  22102-3838
>     703-902-6828 
>     [EMAIL PROTECTED]
> 

Reply via email to