RE: window close session invalidate

2003-08-19 Thread Geiglein, Gary
There is an option in the IE config about reusing windows. This option controls if 
each window has it's own cookies separate from other open windows. This is sometimes 
useful to a developer, they can be running multiple sessions, with potentially 
different logins at the same time.

-Original Message-
From: Paul Wallace [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 7:26 PM
To: Tomcat Developers List
Subject: RE: window close session invalidate




-Original Message-
From: Paul Wallace 
Sent: Thursday, 7 August 2003 9:20 AM
To: Tomcat Developers List
Subject: RE: window close session invalidate

OK, Thanks for that. 
An interesting note however..after some testing, the session is not killed 
when run from another terminal i.e running the same instance of TC (same server) but 
from different terminals. That would suggest it is an IE configuration issue (at much 
annoyance to certain developers). I will at this stage bring this up on the user list!

Thanks

Paul.

i had the same problem with internet explorer. mozilla seems to work
properly.
i tracked the problem down and found out that internet explorer looses
the session cookie when closing the popup browser window.

then i added
 DefaultContext cookies=false /
to my virtualhost definition in server.xml to disable the session-cookie
mechanism.
after that everything worked fine for me.
remember to encode all urls with response.encodeURL().

jochen schwörer


Wednesday, August 6, 2003, 6:00:57 AM, you wrote:

PW Dear all,
PW May someone enlighten me on why my session is being invalidated
PW when I close a browser window? I am doing this in one of two ways - the
PW application close icon on the top right of the window, or a simple:

PW a href=javascript:window.close();CLOSE/a

PW Does anyone have any experience of this? The session is being killed and
PW thus so is my app. I will submit this query to the user list, but
PW thought it appropriate for this list as I am getting the same result
PW from multiple instances of TC on different servers, implying it is not a
PW configuration issue as first suspected. 

PW Thanks

PW Paul.

PW -
PW To unsubscribe, e-mail: [EMAIL PROTECTED]
PW For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: window close session invalidate

2003-08-14 Thread Paul Wallace
Hi,
That might be the case, but the window I am closing is a popup
window that derives from the original. The original window remains
unscathed.

Paul.

That is according to the spec, The session only lives for the time of
the
application,closing your browser window, means that you are ending your
application

Filip

 -Original Message-
 From: Paul Wallace [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, August 05, 2003 9:01 PM
 To: Tomcat Developers List
 Subject: window close session invalidate


 Dear all,
   May someone enlighten me on why my session is being invalidated
 when I close a browser window? I am doing this in one of two ways -
the
 application close icon on the top right of the window, or a simple:

 a href=javascript:window.close();CLOSE/a

 Does anyone have any experience of this? The session is being killed
and
 thus so is my app. I will submit this query to the user list, but
 thought it appropriate for this list as I am getting the same result
 from multiple instances of TC on different servers, implying it is not
a
 configuration issue as first suspected.

 Thanks

 Paul.

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: window close session invalidate

2003-08-14 Thread Paul Wallace
OK, Thanks for that. 
An interesting note however..after some testing, the session is not killed 
when run from another terminal i.e running the same instance of TC (same server) but 
from different terminals. That would suggest it is an IE configuration issue (at much 
annoyance to certain developers). I will at this stage bring this up on the user list!

Thanks

Paul.

i had the same problem with internet explorer. mozilla seems to work
properly.
i tracked the problem down and found out that internet explorer looses
the session cookie when closing the popup browser window.

then i added
 DefaultContext cookies=false /
to my virtualhost definition in server.xml to disable the session-cookie
mechanism.
after that everything worked fine for me.
remember to encode all urls with response.encodeURL().

jochen schwörer


Wednesday, August 6, 2003, 6:00:57 AM, you wrote:

PW Dear all,
PW May someone enlighten me on why my session is being invalidated
PW when I close a browser window? I am doing this in one of two ways - the
PW application close icon on the top right of the window, or a simple:

PW a href=javascript:window.close();CLOSE/a

PW Does anyone have any experience of this? The session is being killed and
PW thus so is my app. I will submit this query to the user list, but
PW thought it appropriate for this list as I am getting the same result
PW from multiple instances of TC on different servers, implying it is not a
PW configuration issue as first suspected. 

PW Thanks

PW Paul.

PW -
PW To unsubscribe, e-mail: [EMAIL PROTECTED]
PW For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: window close session invalidate

2003-08-14 Thread Martin Algesten
This is a user question and should be posted on the tomcat-user list.

On a side note, the session is maintained either by a session cookie or 
by a session id at the end of each request. The server will keep your 
session going for the time specified in the web.xml. If the client 
forgets all about the session id by closing the browser down, then 
the session is dead (even if it is still on the server until it 
expires). Hard to say why your popup doesn't work. One idea could be to 
make sure the session is going already in the root window.

Martin

On Wednesday, August 6, 2003, at 07:48 AM, Paul Wallace wrote:

Also, I was under the impression that 'session' is good for the amount
of time specified in your configuration file, or until
session.invalidate();  is called?
Thanks

Paul.

That is according to the spec, The session only lives for the time of
the
application,closing your browser window, means that you are ending your
application
Filip

-Original Message-
From: Paul Wallace [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2003 9:01 PM
To: Tomcat Developers List
Subject: window close session invalidate
Dear all,
May someone enlighten me on why my session is being invalidated
when I close a browser window? I am doing this in one of two ways -
the
application close icon on the top right of the window, or a simple:

a href=javascript:window.close();CLOSE/a

Does anyone have any experience of this? The session is being killed
and
thus so is my app. I will submit this query to the user list, but
thought it appropriate for this list as I am getting the same result
from multiple instances of TC on different servers, implying it is not
a
configuration issue as first suspected.

Thanks

Paul.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: window close session invalidate

2003-08-08 Thread Paul Wallace


-Original Message-
From: Paul Wallace 
Sent: Thursday, 7 August 2003 9:20 AM
To: Tomcat Developers List
Subject: RE: window close session invalidate

OK, Thanks for that. 
An interesting note however..after some testing, the session is not killed 
when run from another terminal i.e running the same instance of TC (same server) but 
from different terminals. That would suggest it is an IE configuration issue (at much 
annoyance to certain developers). I will at this stage bring this up on the user list!

Thanks

Paul.

i had the same problem with internet explorer. mozilla seems to work
properly.
i tracked the problem down and found out that internet explorer looses
the session cookie when closing the popup browser window.

then i added
 DefaultContext cookies=false /
to my virtualhost definition in server.xml to disable the session-cookie
mechanism.
after that everything worked fine for me.
remember to encode all urls with response.encodeURL().

jochen schwörer


Wednesday, August 6, 2003, 6:00:57 AM, you wrote:

PW Dear all,
PW May someone enlighten me on why my session is being invalidated
PW when I close a browser window? I am doing this in one of two ways - the
PW application close icon on the top right of the window, or a simple:

PW a href=javascript:window.close();CLOSE/a

PW Does anyone have any experience of this? The session is being killed and
PW thus so is my app. I will submit this query to the user list, but
PW thought it appropriate for this list as I am getting the same result
PW from multiple instances of TC on different servers, implying it is not a
PW configuration issue as first suspected. 

PW Thanks

PW Paul.

PW -
PW To unsubscribe, e-mail: [EMAIL PROTECTED]
PW For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: window close session invalidate

2003-08-06 Thread Paul Wallace
Also, I was under the impression that 'session' is good for the amount
of time specified in your configuration file, or until
session.invalidate();  is called?

Thanks

Paul.

That is according to the spec, The session only lives for the time of
the
application,closing your browser window, means that you are ending your
application

Filip

 -Original Message-
 From: Paul Wallace [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, August 05, 2003 9:01 PM
 To: Tomcat Developers List
 Subject: window close session invalidate


 Dear all,
   May someone enlighten me on why my session is being invalidated
 when I close a browser window? I am doing this in one of two ways -
the
 application close icon on the top right of the window, or a simple:

 a href=javascript:window.close();CLOSE/a

 Does anyone have any experience of this? The session is being killed
and
 thus so is my app. I will submit this query to the user list, but
 thought it appropriate for this list as I am getting the same result
 from multiple instances of TC on different servers, implying it is not
a
 configuration issue as first suspected.

 Thanks

 Paul.

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: window close session invalidate

2003-08-06 Thread Jochen Schwrer
i had the same problem with internet explorer. mozilla seems to work
properly.
i tracked the problem down and found out that internet explorer looses
the session cookie when closing the popup browser window.

then i added
 DefaultContext cookies=false /
to my virtualhost definition in server.xml to disable the session-cookie
mechanism.
after that everything worked fine for me.
remember to encode all urls with response.encodeURL().

jochen schwörer


Wednesday, August 6, 2003, 6:00:57 AM, you wrote:

PW Dear all,
PW May someone enlighten me on why my session is being invalidated
PW when I close a browser window? I am doing this in one of two ways - the
PW application close icon on the top right of the window, or a simple:

PW a href=javascript:window.close();CLOSE/a

PW Does anyone have any experience of this? The session is being killed and
PW thus so is my app. I will submit this query to the user list, but
PW thought it appropriate for this list as I am getting the same result
PW from multiple instances of TC on different servers, implying it is not a
PW configuration issue as first suspected. 

PW Thanks

PW Paul.

PW -
PW To unsubscribe, e-mail: [EMAIL PROTECTED]
PW For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: window close session invalidate

2003-08-05 Thread Filip Hanik
That is according to the spec, The session only lives for the time of the
application,closing your browser window, means that you are ending your
application

Filip

 -Original Message-
 From: Paul Wallace [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, August 05, 2003 9:01 PM
 To: Tomcat Developers List
 Subject: window close session invalidate


 Dear all,
   May someone enlighten me on why my session is being invalidated
 when I close a browser window? I am doing this in one of two ways - the
 application close icon on the top right of the window, or a simple:

 a href=javascript:window.close();CLOSE/a

 Does anyone have any experience of this? The session is being killed and
 thus so is my app. I will submit this query to the user list, but
 thought it appropriate for this list as I am getting the same result
 from multiple instances of TC on different servers, implying it is not a
 configuration issue as first suspected.

 Thanks

 Paul.

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]