Hi Geoff,

Thanks for all the reponses...

Here is the latest I have on the issue:

* There seems to be a issue with IE 6, with can be fixed up with some
options
* The session seems to keep alive if we use our full domain name
(postmodern.com.au), but not with a local address such as 192.168.x.x
But seems to be causing some error once in a while (tests still in progress)
* IE 5 has no problems with local address or full name
* Your session example worked with local address with session surviving.

I have no idea why it would resolve with the full domain and not the local
address... but either way seems very very weird.

Do you have any theories on why a session might nullify in such a way??


Thanks,

Amit

-----Original Message-----
From: Geoff Howard [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 15 November 2001 2:21 AM
To: 'Amit Kelkar'; '[EMAIL PROTECTED]'
Subject: RE: REPOST: NEED HELP URGENT:: internet explorer nullifies session
on open new window

I only meant to ask if you were using the default Tomcat sessions, or
perhaps some customized implementation via an app server, etc.

I'm not entirely clear from your description exactly what is going on, but
if you have the examples context installed somewhere, try this:

- Go to /examples/servlet/SessionExample
- note the session id you've been assigned.
- In the IE browser address line type in
javascript:void(window.open('/examples/servlet/SessionExample'));
- In the new window that opens, note that the session id is identical
- Close the new window.
- Refresh the original page.
- Note the session id remains active.

I'm a little suspicious that opening a window like this is not entirely the
same as placing the window.open directly into the page -- you may want to
try modifying the default SessionExample.java to include a window.open for
testing.

Does this represent a simplified version of the situation you have, but with
opposite behavior?  If so, then I'd be suspicious that something else in
your code is really the culprit.  If not, can you modify the above example
to clarify what is going on in the background.

Geoff


-----Original Message-----
From: Amit Kelkar [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 13, 2001 8:38 PM
To: Geoff Howard
Subject: RE: REPOST: NEED HELP URGENT:: internet explorer nullifies
session on open new window


I'm not quite sure I understand what you mean. I am using the default
tomcat4 settings, so I am using cookies I guess...



Amit

-----Original Message-----
From: Geoff Howard [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 14 November 2001 4:24 AM
To: 'Amit Kelkar'
Subject: RE: REPOST: NEED HELP URGENT:: internet explorer nullifies session
on open new window

How are you implementing your sessions?

Geoff

-----Original Message-----
From: Amit Kelkar [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 13, 2001 10:01 AM
To: Tomcat Users List
Subject: REPOST: NEED HELP URGENT:: internet explorer nullifies session
on open new window




-----Original Message-----
From: Amit Kelkar [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 13 November 2001 6:41 PM
To: Tomcat Users List
Subject: internet explorer nullifies session on open new window

The application we are coding requires a new window to be opened. This new
window may just contain a JavaScript calendar or a JSP page (dispatched by a
servlet).

We have been using Internet Explorer 5 till recently to run the application
and this has been fine. But we recently upgraded to I.E. 5.5 and 6.0. In
both of the new versions, when a new window is opened and then closed, the
session in the original window gets nullified.

For example, there are places where I need to see a calendar, so I open this
calendar in a new window, I use the calendar, then I close the calendar
window. I then press a button (in the main window) to go to another page in
my application, where all the session values are now displayed as null.
Subsequent system error statements show that the session is indeed null.

I am not sure this is a tomcat problem or a IE problem (probably a IE
problem), but was wondering if anybody has experienced anything similar and
if they have solved the problem...

Note: I am using tomcat 4.01

Thanks much in advance,


Amit Kelkar


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to