Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 19001 invoked from network); 16 Jun 2004 14:56:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 16 Jun 2004 14:56:03 -0000 Received: (qmail 4969 invoked by uid 500); 16 Jun 2004 14:48:20 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 4903 invoked by uid 500); 16 Jun 2004 14:48:18 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 4709 invoked by uid 99); 16 Jun 2004 14:48:16 -0000 Received: from [64.4.27.14] (HELO hotmail.com) (64.4.27.14) by apache.org (qpsmtpd/0.27.1) with ESMTP; Wed, 16 Jun 2004 07:48:16 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 16 Jun 2004 07:48:05 -0700 Received: from 66.98.131.150 by by8fd.bay8.hotmail.msn.com with HTTP; Wed, 16 Jun 2004 14:48:05 GMT X-Originating-IP: [66.98.131.150] X-Originating-Email: [fzammett@hotmail.com] X-Sender: fzammett@hotmail.com From: "Frank Zammetti" To: tomcat-user@jakarta.apache.org Bcc: Subject: RE: Vexing session creation issue Date: Wed, 16 Jun 2004 10:48:05 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 16 Jun 2004 14:48:05.0433 (UTC) FILETIME=[EE861290:01C453B0] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Never mind... as usual, it was a stupid developer trick... Turns out I forgot two JSP's that get loaded, and they didn't have session=false in them, so that explains it. My bad. Frank >From: "Frank Zammetti" >Reply-To: "Tomcat Users List" >To: tomcat-user@jakarta.apache.org >Subject: Vexing session creation issue >Date: Wed, 16 Jun 2004 10:35:43 -0400 > >I sent this to the Struts mailing list as well, but it seems like it could >be a Tomcat issue as well (probably just some config option I don't know >about)... > >Argh, this one is hurting my head... > >I have an application that starts out by returning index.jsp (it's the >welcome file). This JSP opens a new window via JavaScript and loads into >it index1.jsp. index1.jsp populates five frames of a frameset. At the end >of all this, my logon screen is seen. > >The important thing to note here is that no Actions are executed to this >point, it's just loading JSP's, and there is not really any JSP code in any >of these except for a bunch of request.getContextPath() calls. No code >accesses session or anything like that, and there are only two references >to getting anything out of request (because the logon page might be shown >after a bad attempt, and I need to get the userID and password that was >attempted). In all of them, I have session="false" in the page tag. > >Now... I've created a SessionListener to tell me when a session is created >or destroyed. Problem is, during all these JSP loads, the create event >fires TWICE! What's worse, session is NOT null (which I expected it to >be), and worse still, I'm getting two DIFFERENT session ID's! It looks >like two sessions are being created when it seems like absolutely NONE >should be. > >I'm banging my head against the wall with this one. Anyone have any ideas? > Thanks folks! > >Frank > >_________________________________________________________________ >MSN 9 Dial-up Internet Access fights spam and pop-ups � now 3 months FREE! >http://join.msn.click-url.com/go/onm00200361ave/direct/01/ > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > _________________________________________________________________ MSN Toolbar provides one-click access to Hotmail from any Web page � FREE download! http://toolbar.msn.click-url.com/go/onm00200413ave/direct/01/ --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org