2007/3/19, David Delbecq <[EMAIL PROTECTED]>:
I don't understand why you try to do a webapp specific stuff (licence
checking) in a server context (a valve).

Well, my license is limiting the number of contemporary sessions, i.e.
there is a limit on the number of users can be logged in at the same
time. So, I need to filter user requests after web app startup. I may
do this after the user has authenticated himself, but this means that
then I should force his logout somehow, and this is more complicated
than simply barring the users at the source.

I'd like to point out that my valve has been defined at the
application specific level, in the  webapps\MyApp\META-INF\context.xml
file

Thanks

--
TREMALNAIK

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to