Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 22944 invoked from network); 3 Apr 2002 18:34:17 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 3 Apr 2002 18:34:17 -0000 Received: (qmail 18618 invoked by uid 97); 3 Apr 2002 18:33:47 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 18602 invoked by uid 97); 3 Apr 2002 18:33:46 -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 18588 invoked from network); 3 Apr 2002 18:33:46 -0000 Reply-To: From: "Huy K Dung" To: "'Tomcat Users List'" Subject: RE: session object [urgent!] Date: Wed, 3 Apr 2002 13:33:44 -0500 Message-ID: <5C38335DABC6954E89D7DBC373E1063F01ABBC@elephant.lending4all.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_01C9_01C1DB14.2D6F43E0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <3C812E64.CEB395BA@correo.uqroo.mx> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_01C9_01C1DB14.2D6F43E0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit I have exactly the same problem. I am working on a solution but still no luck. This problem happens to me only when i am using Netscape 4.79. IE 5.5 and Netscape 6.2.2 are OK. I find that IE 5.5 creates a new session in a new window when IE 5.5 is run by clicking on its icon. However, if a new IE 5.5 window is opened by javascript from another IE 5.5 window, the same session is maintained. As for Netscape 6.2.2, it doesn't matter if a new windows is opened by clicking on its icon or by javascript from another Netscape window. As for Netscape 4.79, the session is also maintained if another window is opened ny clicking on its icon. However, if a new window is opened by javascript from another window, the new window is able to access the session to render the info for display but when an action is done on the new window, a new session kicks in and the old session is unknown. Somehow, Netscape 4.79 pops up a new window as a different process. Please HELP!!! I hope my description of the problem is clear enough. -----Original Message----- From: Nancy Crisostomo Martinez [mailto:nancycm@balam2.cuc.uqroo.mx] Sent: Saturday, March 02, 2002 02:56 PM To: Tomcat Users List Subject: Re: session object [urgent!] I have found a kind of bug or I don't know what.... I tried to access to the session's attributes, with another servlet-engine and it works perferct! So... I think Tomcat 3.3 (I'm using) has a bug or maybe it is a cause of a bad configuration because the track is lost.... What do you think about it? Does any of you have the same problem with sessions? Nancy Crisostomo Martinez wrote: > Hi everybody! > > I need your help.. > I'm trying to track some attributes I added to the session object, but I > can't... > > I have an html file (main.htm) which opens a new window browser > (validate.jsp) when you press a button to access to one service... > Then when the user is validated in the validate.jsp file, I added two > attributes to the session object like this: > > ....... > <% > if (validUser(id_Usuario)){ > session.setAttribute("numero",id_Usuario); > session.setAttribute("edad",num); > ....... > > and finally the window is closed and another new window is opened ( > portal.jsp ). > > %> > > <% > } > %> > > The portal.jsp file is formed by frames: > > > framespacing="0"> > marginwidth="0" marginheight="0" SRC="arriba.htm" frameborder="0"> > > frameborder="0"> > marginwidth="0" marginheight="0" noresize SRC="izquierda.jsp" > frameborder="NO"> > marginheight="0" noresize SRC="blanco.jsp" frameborder="NO" > > > > > Su browser no acepta Frames. > > > > > In the left frame (FrameIzquierda) I have a jsp file (izquierda.jsp) > that reads the new session's attributes (numero,edad) and they are > displayed perfectly when the > portal.jsp file is opened. Moreover, in the right frame I put a jsp file > (blanco.jsp) that also reads the attributes 'id' and 'ag' and they are > perfectly displayed too. > But the problem becomes when I click a link placed in the izquierda.jsp > file : > > ..... > test > or > test > ..... > > The top.jsp file also reads the attributes (numero, edad)... > In both cases the session's attributes are not displayed, they only > return a "null" value, and the session id (session.getId()) is > differtent because when the link is > pressed, a new session object is created....so.. I don't know how to fix > this.... > I really need to get the two attributes I stored previously in the > session object... > > Could you please help me??? > I'm desperate!! > > Thank you in advance.. > Nancy. > > -- > To unsubscribe: > For additional commands: > Troubles with the list: -- To unsubscribe: For additional commands: Troubles with the list: ------=_NextPart_000_01C9_01C1DB14.2D6F43E0--