How to share tomcat sessions across multiple IE windows

2007-10-10 Thread Adam Lipscombe
Folks, Apologies, this is not strictly a tomcat question but I wonder if anyone else has run into it and has a solution. My app spawns another window to display help, via the window.open() javascript call. The new window does not share the same session as the original, the session ID is alw

How to share tomcat sessions across multiple IE windows

2007-10-12 Thread Adam Lipscombe
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

Re: How to share tomcat sessions across multiple IE windows

2007-10-10 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. This is known as thread hijacking and to many of the list archiving services and mail clients used by list subscribers this makes your new message

Re: How to share tomcat sessions across multiple IE windows

2007-10-10 Thread Adam Lipscombe
Sorry. My mistake Mark Thomas wrote: When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. This is known as thread hijacking and to many of the list archiving services and mail clients used by list

RE: How to share tomcat sessions across multiple IE windows

2007-10-11 Thread Adam Gordon
ED] Sent: Wednesday, October 10, 2007 2:54 AM To: Tomcat Users List Subject: How to share tomcat sessions across multiple IE windows Folks, Apologies, this is not strictly a tomcat question but I wonder if anyone else has run into it and has a solution. My app spawns another window to display help,

RE: How to share tomcat sessions across multiple IE windows

2007-10-12 Thread Peter Crowther
> From: Adam Lipscombe [mailto:[EMAIL PROTECTED] > 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. Thinking about this, there'

Re: How to share tomcat sessions across multiple IE windows

2007-10-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Johnny, Johnny Kewl wrote: > Right or Wrong this is what I did Ugh, your solution is truly awful. It's much easier to let the session management work the way it was intended: either with a cookie (no worries!) or though a url-encoded jsessionid p

Re: How to share tomcat sessions across multiple IE windows

2007-10-12 Thread Johnny Kewl
- Original Message - From: "Adam Lipscombe" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Friday, October 12, 2007 10:09 AM Subject: How to share tomcat sessions across multiple IE windows Folks I restarted this thread because I inadvertently hijacked

Re: How to share tomcat sessions across multiple IE windows

2007-10-12 Thread David Delbecq
- 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 se

Re: How to share tomcat sessions across multiple IE windows

2007-10-12 Thread Adam Lipscombe
I tried appending "JSESSIONID=" to all urls that are displayed in the new window. That seems to to work. > It's the first time I've encountered it (or even > heard it mentioned) in several years of writing and testing apps with > pop-ups and multiple IE instances. > Yes me too. A weird one. M

Re: How to share tomcat sessions across multiple IE windows

2007-10-12 Thread Johnny Kewl
- Original Message - From: "Christopher Schultz" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Friday, October 12, 2007 3:32 PM Subject: Re: How to share tomcat sessions across multiple IE windows -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Johnny,

[OT] RE: How to share tomcat sessions across multiple IE windows

2007-10-10 Thread Peter Crowther
> From: Adam Lipscombe [mailto:[EMAIL PROTECTED] > My app spawns another window to display > help, via the window.open() javascript call. > > The new window does not share the same session as the > original, the session ID is always different. > Occasionally the ID of the new window is that of