Hi, 

In servlets if I use request.getSession() I get the session back, if there
is no current session, it returns a new session. 
Instead, if I use request.getSession(false) , if the request has no valid
HttpSession, this method returns null

How does it work in Axis.

Is the same for the session returned by MessageContext.
But mc.getSession(false) is not valid.

//My code
    //check for session variables
    MessageContext mc = MessageContext.getCurrentContext();
    Session session = mc.getSession();

Thank you.


Reply via email to