So, technically the "womp" request handler that monitor/wotaskd use can give you this information, but you would have to dig through w/ a decompiler to figure out exactly how to construct the request message, and it has some restrictions on it (can only connect from the local machine, etc). The easier way would be for you to just make a direct action that prints out the value of:

((WOServerSessionStore)WOApplication.application().sessionStore ())._sessions.count().

(assuming you're deployed as a regular WO app and not w/ servlets)

ms

On Feb 2, 2007, at 7:33 AM, Shravan Kumar.M wrote:

Hi All,

Basically, we have couple of applications running on several ports. We need a way to identify the number of active sessions on each instance from outside the application for a given application and instance.

Do we have any commands to achieve this or do we need to programatically achieve this ?

Any help, would be appreciated.

Thanks & Rgds,
Shravan Kumar.M

"Let us learn from the past to profit by the present,and from the present to live better in the future."
                                --William WordsWorth
---------------------------------------------------------------


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag% 40mdimension.com

This email sent to [EMAIL PROTECTED]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to