• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Setting Max number of sessions per Instance.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Setting Max number of sessions per Instance. (From: "Virat Chopra" <email@hidden>)

  • Prev by Date: Re: Rapid turnaround
  • Next by Date: Re: Are Applets still valid solutions ...
  • Previous by thread: Setting Max number of sessions per Instance.
  • Next by thread: Are Applets still valid solutions ...
  • Index(es):
    • Date
    • Thread