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,

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 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 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 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 another. Peter Crowther

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-11 Thread Adam Gordon
Hmmm, we have a webapp that requires authentication to launch a specific function and we spawn multiple windows with window.open() and we don't have any problem with the browser session IDs being changed. Are you switching from http to https or vice versa? This would certainly result in different

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-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

[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