Icon View Thread

The following is the text of the current message along with any replies.
Messages 11 to 20 of 20 total
Thread LicencedSessions
Tue, Jul 29 2008 7:18 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim

I think there are two separate issues here:

1. sessions allowed
2. logins allowed

Starting with 2

I'm specifically interested in controlling logins. So if I've sold a 5 user licence all I'm interested in is making sure (say 98% sure) that given reasonably experienced Windows users only 5 instances of the app are in use at any given time. Without trawling the ngs I can't remember if it was your idea, my idea or what to use sessions.

My ideal is a "soft" lock that will vanish if a machine gets turned off or crashes without the app being properly closed.

The reason for discarding a hard lock is that a facility has then to be provided to unlock things if a crash occurs which reduces the 98% down to sub-50% - its to easy.

Back in the BDE days I did experiment with simply editing a record in the users table and leaving it locked but whilst I don't remember the exact nature I do remember problems.

Now to number 1

Ignoring the login control aspect I don't know how others would want to treat the concept of sessions and their split between foreground and background activity. Personally the sessions I create in threads I would probably not want to include in a session count, but depending on the nature of the app I can see some people wanting to count them. It gets more confused when you start thinking c/s vs local (eg memory) and f/s or some unholy mixture of the three.

Roy Lambert
Tue, Jul 29 2008 5:51 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<<  Ignoring the login control aspect I don't know how others would want to
treat the concept of sessions and their split between foreground and
background activity. Personally the sessions I create in threads I would
probably not want to include in a session count, but depending on the nature
of the app I can see some people wanting to count them. It gets more
confused when you start thinking c/s vs local (eg memory) and f/s or some
unholy mixture of the three. >>

That's the beauty of the sessions limitations - they work fine with all
scenarios.  The only catch is making sure that I disable the ability to
exempt sessions for trial and C/S sessions, and it's a bit of a big catch.
For example, with the STD products, we still want to allow for developers to
exempt sessions from the LicensedSessions setting, but we still want to keep
track of the total number of sessions being used for our purposes.

--
Tim Young
Elevate Software
www.elevatesoft.com

Wed, Jul 30 2008 3:31 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim

>That's the beauty of the sessions limitations - they work fine with all
>scenarios. The only catch is making sure that I disable the ability to
>exempt sessions for trial and C/S sessions, and it's a bit of a big catch.
>For example, with the STD products, we still want to allow for developers to
>exempt sessions from the LicensedSessions setting, but we still want to keep
>track of the total number of sessions being used for our purposes.

Out of interest why are you counting sessions for c/s rather than logins?

Roy Lambert
Wed, Jul 30 2008 7:26 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< Out of interest why are you counting sessions for c/s rather than logins?
>>

There's no difference between the two.

--
Tim Young
Elevate Software
www.elevatesoft.com

Wed, Jul 30 2008 8:05 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim

><< Out of interest why are you counting sessions for c/s rather than logins?
> >>
>
>There's no difference between the two.

So sessions declared in background threads in a c/s environment are?

Roy Lambert [Team Puzzled]
Wed, Jul 30 2008 5:18 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< So sessions declared in background threads in a c/s environment are? >>

They require logins, so they are the same as far as EDB is concerned.
You're using DBISAM thinking again.  In EDB, all sessions, local or remote,
require a login.

--
Tim Young
Elevate Software
www.elevatesoft.com

Thu, Jul 31 2008 3:54 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim

><< So sessions declared in background threads in a c/s environment are? >>
>
>They require logins, so they are the same as far as EDB is concerned.
>You're using DBISAM thinking again. In EDB, all sessions, local or remote,
>require a login.

I can see why you say that, but I don't think I am, I think my viewpoint here is that of a user.

This is how it goes:

The company have bought a 2 user licence (I could say 100 but I'm not typing that much Smiley

user 1 logs in,the app starts a background thread to monitor when new emails have arrived

user 2 logs in,the app starts a background thread to monitor when new emails have arrived. user 2 also starts a query that's going to search a load of documents on disk and runs in the background (it'll post a message when its done)

For me that's 2 logins, but 5 sessions, for you its 5 logins and 5 sessions.

In c/s would how many connections would that be? I'm assuming here that connections and sessions are different, but I could well be wrong.

Roy Lambert
Thu, Jul 31 2008 5:29 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< I can see why you say that, but I don't think I am, I think my viewpoint
here is that of a user. >>

I understand what you're saying from the standpoint of your *application
needs*.  What I'm telling you is that there is no difference in EDB between
a session and a login.  Every session must login to an EDB system in the
same way, regardless of whether it is running in a background thread or not.

<< In c/s would how many connections would that be? I'm assuming here that
connections and sessions are different, but I could well be wrong. >>

Like with DBISAM, EDB sessions can be used with different connections due to
the automatic reconnection architecture, so the connection count is not
always equal to the session count.

--
Tim Young
Elevate Software
www.elevatesoft.com

Thu, Jul 31 2008 6:08 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim

>Like with DBISAM, EDB sessions can be used with different connections due to
>the automatic reconnection architecture, so the connection count is not
>always equal to the session count.

OK interesting.

What's the chances of you overcoming the issues and something making it into ElevateDB, or do I need to intensify my search for an alternative?

Roy Lambert
Thu, Jul 31 2008 6:25 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< What's the chances of you overcoming the issues and something making it
into ElevateDB, or do I need to intensify my search for an alternative? >>

Pretty good if I can get 2.01 B2 out the door and start getting some actual
work done. Smiley

I had planned on trying to squeeze it into 2.02.  It is basically going to
involve having two layers of session tracking instead of one.

--
Tim Young
Elevate Software
www.elevatesoft.com

« Previous PagePage 2 of 2
Jump to Page:  1 2
Image