Return-Path: list-help: list-unsubscribe: List-Post: List-Id: Mailing-List: contact cactus-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list cactus-user@jakarta.apache.org Received: (qmail 84659 invoked from network); 14 Jul 2003 07:36:00 -0000 Received: from nan-smtp-03.noos.net (HELO smtp.noos.fr) (212.198.2.72) by daedalus.apache.org with SMTP; 14 Jul 2003 07:36:00 -0000 Received: (qmail 27807393 invoked by uid 0); 14 Jul 2003 07:36:11 -0000 Received: from unknown (HELO vma) ([195.132.245.145]) (envelope-sender ) by 212.198.2.72 (qmail-ldap-1.03) with SMTP for ; 14 Jul 2003 07:36:11 -0000 From: "Vincent Massol" To: "'Cactus Users List'" Subject: RE: Http Session testing? Date: Mon, 14 Jul 2003 09:35:47 +0200 Message-ID: <007c01c349da$8b54bb30$2502a8c0@vma> 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.4024 In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi Scott, > -----Original Message----- > From: Parmley, Scott C. [mailto:sparmley@p2es.com] > Sent: 30 June 2003 22:54 > To: cactus-user@jakarta.apache.org > Subject: Http Session testing? > > Does anyone know if there is a way to test a session variable in cactus? > For instance, I have a login XSP page that sets a session variable if the > login was successful. > > I've tried session.getAttribute("myObject"); but it looks to be null each > time I try to get it. Is there a wrapper object I should be using to > access session? The "session" object is fine. If the result is null it really means the object is not set in the session. -Vincent