XML & Web services: Session in web services with axis
I'm developing web services with axis. I want keep a sessión for the users. Have axis any method for manage sessions?
- Posted by: alain c
- Posted on: April 25 2006 10:42 EDT
You should find an article at https://ftponline.com/ , i don't remember where.
Most servers maintain session using cookies on the client side. The HttpSender that comes with axis has some issue that it cant handle multiple cookies (I dont remember this very well). The cookies have to be in some format otherwise it will not remember one of them. Try searching for HttpSender problems / see the code for HttpSender where it handles cookies. Once this is fixed, it will maintain session. I also think that u have to call stub.setSession(true). Hope this helps