Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 29002 invoked from network); 1 Jul 2003 17:06:35 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 1 Jul 2003 17:06:35 -0000 Received: (qmail 19592 invoked by uid 97); 1 Jul 2003 17:09:01 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 19585 invoked from network); 1 Jul 2003 17:09:01 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 1 Jul 2003 17:09:01 -0000 Received: (qmail 1178 invoked by uid 500); 1 Jul 2003 17:00:36 -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 1103 invoked from network); 1 Jul 2003 17:00:35 -0000 Received: from anchor-post-39.mail.demon.net (194.217.242.80) by daedalus.apache.org with SMTP; 1 Jul 2003 17:00:35 -0000 Received: from athoa-02.demon.co.uk ([80.177.1.132] helo=athoa.com) by anchor-post-39.mail.demon.net with esmtp (Exim 3.36 #2) id 19XOUZ-0006nz-0U for tomcat-user@jakarta.apache.org; Tue, 01 Jul 2003 18:00:32 +0100 Message-ID: <3F01BE31.4080804@athoa.com> Date: Tue, 01 Jul 2003 18:00:33 +0100 From: Mark Riddoch Reply-To: Mark.Riddoch@athoa.com Organization: Athoa User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Sharing a session between multiple frames References: <9C5166762F311146951505C6790A9CF8A6E7FF@US-VS1.corp.mpi.com> Content-Type: multipart/alternative; boundary="------------090706040900040206070701" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --------------090706040900040206070701 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi, I will try to split out the code to a reasonable size. In the meantiem I have found out a little more information.... and it is very odd.... The setup under Tomcat 4.0 works with IE6 and Netscape 7. When I moved to I moved to Tomcat 4.1 it stopped working with IE6. I just happen to have tried Netscape and it still works under netscape. Now I am really confused! Iam starting to look at the HTTP headers to see what the difference might be. Mark Shapira, Yoav wrote: >Howdy, > > > >>I have a webapp that makes use of the session to store a key to track >>the current state of a user. This all works fine under Tomcat 4.0 but >>when I move to 4.1 on Linux I get a problem as soon as I start invoking >>multiple frames on a page. It seems that a different thread is used for >>the two frames on my page, and that the new thread that gets invoked >>doesn't have the session object any more. Does anybody know of a way to >>change the configuration of Tomcat 4.1 so that I share the session >>between the two frames? >> >> > >Sessions will be shared between the two frames. Can you post specific >code that fails in tomcat 4.1.x but works in 4.0.x? > >It is entirely possible, and legal, for different frames (which are >different HTTP requests) to be served by different request processing >threads in tomcat. That wouldn't affect the session. > >Yoav Shapira > > > >This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > > > > -- Mark Riddoch - Software Architect ATHOA Ltd. - Making CRM a reality Weir Bank Phone: +44 (0)1628 762 635 Bray-on-Thames Fax: +44 (0)1628 635 985 Maidenhead - SL6 2ED Mobile: +44 (0)7850 218 966 UK e-mail: Mark.Riddoch@athoa.com --------------090706040900040206070701 Content-Type: multipart/related; boundary="------------000701090209020208060006" --------------000701090209020208060006 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Hi,

I will try to split out the code to a reasonable size. In the meantiem I have found out a little more information.... and it is very odd....
The setup under Tomcat 4.0 works with IE6 and Netscape 7. When I moved to I moved to Tomcat 4.1 it stopped working with IE6.
I just happen to have tried Netscape and it still works under netscape. Now I am really confused! Iam starting to look at the HTTP headers
to see what the difference might be.

Mark

Shapira, Yoav wrote:
Howdy,

  
I have a webapp that makes use of the session to store a key to track
the current state of a user. This all works fine under Tomcat 4.0 but
when I move to 4.1 on Linux I get a problem as soon as I start invoking
multiple frames on a page. It seems that a different thread is used for
the two frames on my page, and that the new thread that gets invoked
doesn't have the session object any more. Does anybody know of a way to
change the configuration of  Tomcat 4.1 so that I share the session
between the two frames?
    

Sessions will be shared between the two frames.  Can you post specific
code that fails in tomcat 4.1.x but works in 4.0.x?

It is entirely possible, and legal, for different frames (which are
different HTTP requests) to be served by different request processing
threads in tomcat.  That wouldn't affect the session.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged.  This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org



  

--
Athoa Signature
Mark Riddoch - Software Architect
ATHOA Ltd. – Making CRM a reality
 

Weir Bank

Phone:

+44 (0)1628 762 635

Bray-on-Thames

Fax:

+44 (0)1628 635 985

Maidenhead - SL6 2ED

Mobile:

+44 (0)7850 218 966

UK

e-mail:

Mark.Riddoch@athoa.com




--------------000701090209020208060006 Content-Type: image/gif; name="ATHOA Logo - eMail.gif" Content-Transfer-Encoding: base64 Content-ID: Content-Disposition: inline; filename="ATHOA Logo - eMail.gif" R0lGODlhjQAgAHcAMSH+GlNvZnR3YXJlOiBNaWNyb3NvZnQgT2ZmaWNlACH5BAEAAAAALAAA AACMAB4AhAAAAA8LPg8LPA8LOQ8LNw8LNg8LNA8LMgwLMRkSXRgSWxcSWBcQVhcPUxYPUBQP TBMPSRIORhIMRBELQRwVaxwVahwVaRsVaRoVaBoUZxoSZRoSYxoSYhkSYAECAwECAwX/ICCO ZGmeaApQbEupcCzPdG3fZaXvfIX/wKAw2POJisOkchm0OJ2nJ5RJrVpHl2w2pd1ev+AfZkxO kcvhtFqVabdh7vd6TtfY77A7ns4Pb/6AMICBfYVWHIiIMomJhnwdkJGRKJIdlJUylZYxmpsj nT+dkCeaKQmnqKmoJaoJKK0ysKatp6+yM7S3IqopCr6/Jb8KJMLDKMXGMMi9xTXNys8j0QDT IwvX2Asn2dbcKNnXMuDa2+Df3+Yp4+jhAOsmDPHyKfIMAPXx9Pj7/Psn/vDm/cOHAmDBfPfq nWjAsCEMhw0ZqohIsaJFhyUqoqC4kaMJjRMleizhoKTJGCZT/zpQoXIlSpUmWp6QORMmSZsw WpY08aCnzwcxfv5UIRRoUKEliqIoajSpUhJPYTA9AaGqVQgyrlaFoRVrjK4lwFLVmkLsCLNc yZqIwLbtjLZuVcBlK2NuhBJ2UeTVOxdv37pwUUgYTHgG4cExDheGoVhCicYpFEeWTAJyYsom JmjeLGMz5xieNcMIPSFz6BSnUZAusRp0ahMBYsuWIXt2jNqxYeAOABu3CtsodpcQrtt3CgHI k8NIzlwGc+TLm5t4LkCFchTUq5OgHoN7igHgw8MIT94EePPkB3xPjyK9+vbn4ZdHP389exLi ARDYv18F//78kRCgCf8RkEKBByJ4go2CBDIooIMNFmjggyMUYOGFKVxoIQAaitDhCRoWAOKH GYZoAoYYlhCiiCis2OKHMG44ggE01mhACTbeKEKONqrAIwk5yvDjjDTuWCOQQfo4pJE9Mrnk CAdEKeWUU5ZApZQwXKklDVpWCWWXUc4A5pVWkokCAmimqeaZa86gZps3vIkmm2/iICecJdQp QggAOw== --------------000701090209020208060006-- --------------090706040900040206070701--