Thanks for the speedy answer to my question. Is this the only possibility?
Since the filter will be called for each request, maybe this will slow down
my web application
Thanks again
-Ursprüngliche Nachricht-
Von: Mikolaj Rydzewski [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 13.
I have looked at the session listeners but there I cannot access the users
remote adress
-Ursprüngliche Nachricht-
Von: Ehlers, Kolja [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 14. November 2008 09:38
An: Tomcat Users List
Betreff: AW: Different session timeout for local and external
Ehlers, Kolja wrote:
Thanks for the speedy answer to my question. Is this the only possibility?
Since the filter will be called for each request, maybe this will slow down
my web application
Maybe. But not likely. Search the web for 'premature optimization' ;-)
--
Mikolaj Rydzewski [EMAIL
Mikolaj Rydzewski wrote:
Ehlers, Kolja wrote:
Thanks for the speedy answer to my question. Is this the only
possibility?
Since the filter will be called for each request, maybe this will slow
down
my web application
Maybe. But not likely. Search the web for 'premature optimization' ;-)
Rydzewski [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 14. November 2008 09:42
An: Tomcat Users List
Betreff: Re: AW: Different session timeout for local and external users
Ehlers, Kolja wrote:
Thanks for the speedy answer to my question. Is this the only possibility?
Since the filter will be called
Ehlers, Kolja wrote:
is it not possible to define a global filter for all web applications?
For Tomcat you can use Valves.
In fact, you should really ignore additional time that such simple
filter will add to request processing time.
First: check if it really slows down your app. If it
yes thanks I will do that. So I cannot just add the filter to the global
web.xml at conf/web.xml?
-Ursprüngliche Nachricht-
Von: Mikolaj Rydzewski [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 14. November 2008 12:53
An: Tomcat Users List
Betreff: Re: AW: AW: Different session timeout
From: Ehlers, Kolja [mailto:[EMAIL PROTECTED]
Subject: AW: AW: Different session timeout for local and
external users
is it not possible to define a global filter for all web
applications?
It should be, but it will apply to all webapps, including the ones packaged
with Tomcat.
filter
An: Tomcat Users List
Betreff: RE: AW: Different session timeout for local and external users
From: Ehlers, Kolja [mailto:[EMAIL PROTECTED]
Subject: AW: AW: Different session timeout for local and
external users
is it not possible to define a global filter for all web
applications?
It should
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kolja,
Ehlers, Kolja wrote:
is it not possible to define a global filter for all web applications?
Yes, but I'm not sure why you'd want to do that. If each application
needs it, just enable it in all applications.
If I add
filter
From: Ehlers, Kolja [mailto:[EMAIL PROTECTED]
Subject: AW: AW: Different session timeout for local and
external users
its located at shared/lib
If it's a standalone class, it should be in shared/classes, not shared/lib.
Also, make sure the class does not exist in any of the individual
11 matches
Mail list logo