Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 24159 invoked from network); 14 Oct 2003 11:20:47 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 14 Oct 2003 11:20:47 -0000 Received: (qmail 6572 invoked by uid 500); 14 Oct 2003 11:20:35 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 6560 invoked by uid 500); 14 Oct 2003 11:20:34 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-user@ws.apache.org Delivered-To: moderator for axis-user@ws.apache.org Received: (qmail 88234 invoked from network); 13 Oct 2003 23:09:40 -0000 From: "Subbiah" To: Subject: Message Context Date: Mon, 13 Oct 2003 18:09:47 -0500 Message-ID: <004101c391df$18f156f0$305d6e81@campus.ad.utdallas.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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.