File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to kill session in transportsession scope of axis2?

 
win llen
Greenhorn
Posts: 18
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

How can i destroy a session trigger by an operation like logOut, not by inactive session timeout?

Example: I have a logOut(sessionId) method that will kill a specific session, how can I do this?


Thanks,
 
win llen
Greenhorn
Posts: 18
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have make this work using this code: serviceContext.removeProperty(SSID);

I am not sure if it is the right way but it's working

thanks.
 
LamLe Le
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi win llen,
Could you tell me what SSID is ?
I cannot find it in axis2 :/
Thanks.

win llen wrote:Hi,

I have make this work using this code: serviceContext.removeProperty(SSID);

I am not sure if it is the right way but it's working

thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic