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
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
-
> 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 .
>
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
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
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
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
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
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
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.
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
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
-
12 matches
Mail list logo