Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Open session number
Sun, Oct 31 2010 8:04 AMPermanent Link

Hershcu Sorin

Hello

How can I know how many sessions are open?
On local and remote version?

Thanks
Sorin

Sun, Oct 31 2010 10:57 AMPermanent Link

Jan Ferguson

Data Software Solutions, Inc.

Team Elevate Team Elevate

Sorin,

Remotely you can do one of several things:
1. You can open the server GUI and at the bottom of the window is a
"Connected" field which will indicate how many sessions are open and
connected.
2. You can open the EDBManager and click on a remote session. Then in
the menu options click on the "Manage Server Sessions" and it will show
you how many server sessions are open (the number of rows will show at
the bottom of the tab, or you can count the number on top).
3. You can use the GetServerConnectedSessionCount method of the
TEDBEngine component. It will return an integer value. Note however
that this method is only valid when the engine is running as an
ElevateDB Server and the
EngineType is set to etServer.

When you state "Locally" I assume you are speaking of file-sharing as
opposed to a single user. I am not aware of any easy way to accomplish
this. The only way I am aware of to count the number of local sessions
would be to "View Logged Events" in the EDBManager. However you would
have to count the number of logins versus logouts to come to a value.

Personally, if I have two or more people using a database at the same
time, I would rather use a remote server (client/server) configuration
rather than a file sharing configuration. But that's just me.

Hope this helps.
--
Jan Ferguson [Team Elevate]


Sorin H wrote:

> How can I know how many sessions are open?
> On local and remote version?
Image