Determining number of current users. (OpenInsight Specific)
At 12 FEB 1999 06:15:28AM Steven King wrote:
Does anyone know a way of establishing how many OpenInsight users are currently logged-on to a given server??
At 12 FEB 1999 07:21AM [email protected],[url=http://www.sprezzatura.com]Sprezzatura Ltd[/url] wrote:
Stephen,
Take a look at the SYSLOGINS table. There is a record in here for each user logged into the system, along with the date/time they logged in at, their access level and application id.
World Leaders in all things RevSoft
At 12 FEB 1999 07:24AM Paul Innes wrote:
Can't believe I've actually posted a response before the guys at Sprezzatura.
Anyway. I've done this a couple of ways in the past. The easiest method (providing your running the NLM) is to look at the form NLM_STATS. This gives you a detailed rundown of every user on the server.
The other method is to implement a logon/security screen where every user has to actually logon to your application. You can then update a 'user' table accordingly as to whether they are logged on or not, and report on that. This has its problems. Sometimes a user may exit the system in an 'unusual' method (just switching off the PC), and this will not update the table.
hope this gives you some ideas.
At 12 FEB 1999 01:57PM Oystein Reigem wrote:
Paul,
Can't believe I've actually posted a response before the guys at Sprezzatura.
I don't think you did now either. From here it looks like Carl came first.
![]()
And have you noticed how Aaron sometimes just explodes in a riot of colourful html and mail links all over the web discussion list?
![]()
- Oystein -
At 12 FEB 1999 08:31PM Eric Emu wrote:
When Stephen King asks questions, *everybody* answers politely.
BTW, Aaron doesn't explode in HTML, he merely links in HTML.
He "explodes" in Javascript.
Eric
At 16 FEB 1999 08:45AM Oystein Reigem wrote:
Eric
When Stephen King asks questions, *everybody* answers politely.
Sometimes I just answer like that to determine the number of current emus.
- Oystein -
At 16 FEB 1999 01:35PM Carl Pates wrote:
At 17 FEB 1999 06:27AM Eric Emu wrote:
One too many, probably…
At 24 FEB 1999 09:06PM [email protected] - [url=http://www.sprezzatura.com]Sprezzatura, Inc.[/url] wrote:
If you think that's bad, you should see how I explode in the 29dfjlkjekwllj43904f%#$%$%$#$%343
'erq
're
3r35
eg
54
656745(*&(*&((*(*edsuieoHUJKHKJOIoi309834oilfdjedelkdklkdsldsdsl;
agfr
er
e
r
@@@@@@@@2
2@@@@@@@@@@@@@@@@@
At 24 FEB 1999 09:21PM [email protected] - [url=http://www.sprezzatura.com]Sprezzatura, Inc.[/url] wrote:
Aren't links usually in sausage, though Hebrew National Specials would be a better choice.
Actually, I used to have a Mercury Linx. Funny story about that (this is actually true, by the way). For those that don't know, the Linx is exactly the same as the Ford Escort, at least the US/Canada models. An old roommate of mine (he's a story in and of himself) once told me I drove an Escort. I told him I drove a Linx and he was very insistant that I had an Escort. No matter how much I tried telling him it was my car and I knew what I drove, he would hear nothing of it. Finally, he bet me $100 that I had an Escort, not a Linx.
At 04 MAR 1999 03:47AM Richard Bright - BrightIdeas New Zealand wrote:
In additional to Carl's comments you might find this routine useful - it creats a function to determine the max number of users.
Function Create_Max_Users(Dummy)
Hex =\00010001001300120000008A18E31429\
Hex := \B8740201010101000018005359535052\
Hex := \4F47FE31303732392E35323732363835\
Hex := \3138350400766F6964\
*
open "SYSOBJ" to f_SysObj then
write Hex to f_SysObj, "$MAXUSERS*TOOLS" Else Call MSG(
, "Unable to write to object table") RetnVal=1 end else Call MSG(
, "Unable to open system object table")RetnVal=0end
Return RetnVal