Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 35089 invoked from network); 12 Oct 2007 09:56:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Oct 2007 09:56:05 -0000 Received: (qmail 98336 invoked by uid 500); 12 Oct 2007 09:55:41 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 98309 invoked by uid 500); 12 Oct 2007 09:55:41 -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 98298 invoked by uid 99); 12 Oct 2007 09:55:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Oct 2007 02:55:40 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of delbd+jakarta@oma.be designates 193.190.231.70 as permitted sender) Received: from [193.190.231.70] (HELO bonnie2.oma.be) (193.190.231.70) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Oct 2007 09:55:41 +0000 Received: from bonnie2.oma.be (localhost [127.0.0.1]) by bonnie2.oma.be (8.13.6/8.11.1) with ESMTP id l9C9n14q011087 for ; Fri, 12 Oct 2007 09:49:01 GMT Received: from [193.190.249.120] (cal-12.oma.be [193.190.249.120]) by bonnie2.oma.be (8.13.6/8.11.1) with ESMTP id l9C9n0QI011084 for ; Fri, 12 Oct 2007 09:49:01 GMT Message-ID: <470F426A.6020604@oma.be> Date: Fri, 12 Oct 2007 11:46:18 +0200 From: David Delbecq User-Agent: Thunderbird 1.5.0.13 (X11/20070824) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: How to share tomcat sessions across multiple IE windows References: <470F2BC5.5050009@expensys.com> In-Reply-To: <470F2BC5.5050009@expensys.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org - Make sure the url provided to window.open() is properly encoded by server so that it includes the sessionId if necessary. use for that java.lang.String encodeURL(java.lang.String url) from the HttpServletResponse interface server side. - Check, if cookies are disabled on client, that the sessionId is kept on all links - As someone mentioned, check you are not switching from an https to http url, as sessions are unfortunately differents, browser seeing those as different services. Note: we use popups here in an authenticated area, no problem with IE users. En l'instant pr�cis du 12/10/07 10:09, Adam Lipscombe s'exprimait en ces termes: > Folks > > I restarted this thread because I inadvertently hijacked another. > > > Peter Crowther said: > > "You can't. This is a client-side problem. As your first link says: > Use a key in the querystring, tied to a cookie or a form, if session > state across windows is a necessity." > > > > Can you expand on how this works please? If I pass the session ID from > the calling window to the spawned window, what do I do with it? Look > up the session cookie with JavaScript? Then what? > Ideally I want the child window to share the same session. > > Sorry if I am being a bit thick here.... > > > TIA - Adam > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org -- http://www.devlog.be (a belgian developer's logs) --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org