![]() | Products |
| Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB General » View Thread |
| Messages 11 to 20 of 20 total |
| Tue, Jul 29 2008 7:18 AM | Permanent Link |
Roy Lambert NLH Associates | 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 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. | 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 AM | Permanent Link |
Roy Lambert NLH Associates | 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 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. | 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 AM | Permanent Link |
Roy Lambert NLH Associates | 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 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. | 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 AM | Permanent Link |
Roy Lambert NLH Associates | 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 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 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. | 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 AM | Permanent Link |
Roy Lambert NLH Associates | 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 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. | 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. 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 Page | Page 2 of 2 | |
| Jump to Page: 1 2 | ||
This web page was last updated on Monday, November 9, 2026 at 05:14 AM | Privacy Policy © 2026 Elevate Software, Inc. All Rights Reserved Questions or comments ? |

