hi, 
 I've tried this...

my.ear
|        /
|       --------------my.wsr
|                         /
|                       -----------------myService.class.getSessionId()
---------------------my.war
                        /
                        -----------------myServlet.class.getSessionId()

************************************
myService.class
getSessionId(){
  org.apache.axis.MessageContext mctx =     
                org.apache.axis.MessageContext.getCurrentContext();
  AxisHttpSession ses = ( AxisHttpSession ) mctx.getSession();
  HttpSession httpSession = ses.getRep();

return httpSession.getId()
}

**********************************
myServlet.class

doGet(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException{
        try{
            HttpSession session = request.getSession();
           response.......return............session.getId();
        }

why I've diferents sessionId ?

how i can get the same  sessionId?
and do something like...

*myservice.getHttpSession.setAtributte("myVar", "hello");
*myservlet.getHttpSession.getAtributte("myVar");

myVar.toString().equals("hello");

thanks,

Sory, mi ingles es pobre...

delKant

Reply via email to