Re: Setting Max number of sessions per Instance.
Re: Setting Max number of sessions per Instance.
- Subject: Re: Setting Max number of sessions per Instance.
- From: Doug Andrews <email@hidden>
- Date: Mon, 10 Jan 2005 09:48:09 -0500
You could have a session counter.
You could increment it in your session constructor.
You could decrement it by overwriting the session terminate method.
When your maximum number has been reached, you could overwrite your
applications refuseNewSessions method and have it return false.
On Jan 9, 2005, at 6:28 PM, Virat Chopra wrote:
Hello.
Is there a way to set maximum number of sessions allowed per instance.
Even though most of the instances of our Application have evenly
distributed
instances. We have Round Robin scheduling, there always are a couple of
instances (not the same ones everytime)that show remarkably high
number of
instances.
Thanks
Sincerely,
Virat Chopra
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden