Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 70478 invoked from network); 24 Aug 2010 22:38:32 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 Aug 2010 22:38:32 -0000 Received: (qmail 32425 invoked by uid 500); 24 Aug 2010 22:38:28 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 32303 invoked by uid 500); 24 Aug 2010 22:38:27 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 32294 invoked by uid 99); 24 Aug 2010 22:38:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Aug 2010 22:38:27 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [96.252.75.162] (HELO powersrvcs.com) (96.252.75.162) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Aug 2010 22:38:20 +0000 Received: from [10.0.1.8] (98.229.138.112) by powersrvcs.com with ESMTP (EIMS X 3.3.9) for ; Tue, 24 Aug 2010 18:38:00 -0400 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1081) Subject: Re: Session problem From: Stephen Caine In-Reply-To: Date: Tue, 24 Aug 2010 18:37:57 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <871FC508-606A-46C5-AB55-486D2A3BB646@commongrnd.com> References: To: "Tomcat Users List" X-Mailer: Apple Mail (2.1081) Jason, As each window shares the same session, a change to the session value in = one window will effect the session value in the others. Stephen Caine On Aug 24, 2010, at 5:21 PM, Jason Britton wrote: > I would make sure that the link for your "Messages" tab is going to = the same > domain as that your session was established under and is hitting the = same > domain as your "Home" and "Admin" links. This doesn't seem to have = anything > to do with Tomcat though. >=20 >=20 > On Tue, Aug 24, 2010 at 1:53 PM, Hisham wrote: >=20 >> Hello all, >>=20 >> I have a problem that is driving me crazy. I don't even know if its = a >> Tomcat issue but maybe someone out there can help me out. >>=20 >> I have a webapp that I first developed locally. I tested this on my >> local environment (windows) and had no issues. I then deployed the >> same app to our QA environment (linux). There i am seeing something >> strange. There are three main tabs, "Home", "Messages" and "Admin". >> I can go between home and admin, no probs. But once i click on >> Messages, somehow the session on the server gets messed up. The way = i >> check whether session is valid is not is that I have a filter that >> will check if a certain attribute is present in the session or not. >> If its not, i assume the session is invalid and forward to login = page. >> As soon as i click on the Messages link, i cannot do anything else; >> anywhere else i click it takes me to the login page. I put print >> statements in my filter and verified that it is not able to find the >> attribute in the session. Which is strange because the session id is >> the same (i have verified by printing it out, and also seeing what is >> sent in the actual request headers via firebug). I am not removing >> the attribute from the session in any place; and in any case it works >> fine locally as i said before. >>=20 >> Does any one have any clue as to what could be happening? I can post >> code if needed, but i don't know where to begin :) >>=20 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org