axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Subbiah" <sxs014...@utdallas.edu>
Subject Message Context
Date Mon, 13 Oct 2003 23:09:47 GMT
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.



Mime
View raw message