You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Gary Larsen <ga...@envisn.com> on 2006/01/06 22:31:21 UTC
Controlling number of concurrent sessions
I need to limit the number of concurrent sessions by user.
Is there a way to access all the session information from the Cocoon
context? Or is this best implemented using a session listener?
Thanks for any advice.
Gary
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
RE: Controlling number of concurrent sessions
Posted by Gary Larsen <ga...@envisn.com>.
Thanks for your help Sylvian.
>
> Session management is a servlet engine concern, and session
> listener is the way to go.
>
I think I have a handle on it now using my authentication class with
HttpSessionBindingListener.
> Does this mean a limited global number of sessions, or forbid
> a given user to be logged more than once?
>
I need to limit the number of sessions for a given user, probably 2 but
controlled by a license. Since this product will be licensed by number of
named users we don't want a logon to be passed around the enterprise.
Gary
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Controlling number of concurrent sessions
Posted by Sylvain Wallez <sy...@apache.org>.
Gary Larsen wrote:
> I need to limit the number of concurrent sessions by user.
>
Does this mean a limited global number of sessions, or forbid a given
user to be logged more than once?
> Is there a way to access all the session information from the Cocoon
> context? Or is this best implemented using a session listener?
>
Session management is a servlet engine concern, and session listener is
the way to go.
Sylvain
--
Sylvain Wallez Anyware Technologies
http://bluxte.net http://www.anyware-tech.com
Apache Software Foundation Member Research & Technology Director
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org