Trying another approach - HttpSessionListener Re: cleaning up sessions ...

2003-09-17 Thread Mufaddal Khumri
session time out in a single browser). -Original Message- From: Mufaddal Khumri [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2003 2:53 AM To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: Re: cleaning up sessions ... Exactly. I have a session attribute in my session that

Re: cleaning up sessions ...

2003-09-17 Thread Mufaddal Khumri
esday, September 17, 2003 2:53 AM To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: Re: cleaning up sessions ... Exactly. I have a session attribute in my session that i set to true . and if that session attribute is not present or is false i redirect them to the authentication page. I did the following

RE: cleaning up sessions ...

2003-09-17 Thread Mike Curwen
- > From: Mufaddal Khumri [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 17, 2003 2:53 AM > To: Tomcat Users List > Cc: [EMAIL PROTECTED] > Subject: Re: cleaning up sessions ... > > > Exactly. I have a session attribute in my session that i set > to true . >

Re: cleaning up sessions ...

2003-09-17 Thread Mufaddal Khumri
Exactly. I have a session attribute in my session that i set to true . and if that session attribute is not present or is false i redirect them to the authentication page. I did the following to my server.xml : debug="0" saveOnRestart="false" maxActive

RE: cleaning up sessions ...

2003-09-17 Thread Vernon Smith
I don't know your application scenario, but in general, authetication is not the same as a session state. Authetication can be implemented in a filter. Hope this helps. Vernon -- - Original Message - DATE: Wed, 17 Sep 2003 15:49:41 From: "Shapira, Yoav" <[EMAIL PROTECTED]> T

Fw: cleaning up sessions ...

2003-09-17 Thread Filip Hanik
Sent: Wednesday, September 17, 2003 12:22 AM Subject: Re: cleaning up sessions ... Hi, Does the PersistentManager help not to persist sessions across container start or restart ? or does it do across webapplication reload / restart ? (by container i mean Tomcat and by webapplication i mean a w

Re: cleaning up sessions ...

2003-09-17 Thread Filip Hanik
Sent: Wednesday, September 17, 2003 12:22 AM Subject: Re: cleaning up sessions ... Hi, Does the PersistentManager help not to persist sessions across container start or restart ? or does it do across webapplication reload / restart ? (by container i mean Tomcat and by webapplication i mean a w

RE: cleaning up sessions ...

2003-09-17 Thread Shapira, Yoav
Howdy, >all pages i do a checkAuthetication .. how do i check if the session is >active or not ? .. so that i can detect that and redirect them to the Hmm... I would do this using attributes. All attributes are unbound when the session is invalidated. So add an attribute to the session when yo

Re: cleaning up sessions ...

2003-09-17 Thread Mufaddal Khumri
have to write any code. Read the PersistentManager documentation and comments in server.xml. Yoav Shapira Millennium ChemInformatics -Original Message- From: Mufaddal Khumri [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2003 2:31 AM To: Tomcat Users List Subject: cleaning up

Re: cleaning up sessions ...

2003-09-17 Thread Mufaddal Khumri
Shapira Millennium ChemInformatics -Original Message- From: Mufaddal Khumri [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2003 2:31 AM To: Tomcat Users List Subject: cleaning up sessions ... I have got a ServletContextListener that does initialization and cleanup for my webapp.

RE: cleaning up sessions ...

2003-09-17 Thread Shapira, Yoav
CTED] >Sent: Wednesday, September 17, 2003 2:31 AM >To: Tomcat Users List >Subject: cleaning up sessions ... > >I have got a ServletContextListener that does initialization and >cleanup for my webapp. I was wondering if there was a way to invalidate >all sessions to my webapp in

cleaning up sessions ...

2003-09-17 Thread Mufaddal Khumri
I have got a ServletContextListener that does initialization and cleanup for my webapp. I was wondering if there was a way to invalidate all sessions to my webapp in this Listener ? If not, in what way can I invalidate all sessions when i start / reload my webapp ? Thanks -