Hi folks,
I had to solve a similar problem a couple of weeks ago.
Although data is stored in a (firebird) database I did not use that information 
only to check for the users.
My Concept was solved with some indy-components to set up a communication path 
between server and clients AND VICE VERSA(!)
In the database I had a table of all allowed computers (Computername) together 
with the last known IP-address.

At server startup, Server builds a list of all users it thinks they are logged 
in
When a new computer (user) logges in, it(he) is added to list and noticed in DB
when logges off ... well seems clear
Now for the extra: every 5 minutes, the server "pings" (not really ping, but 
sends a request and expects an answer) each client to see,
if it is still alife, if not, logges it out. 
So if powerfails happen or a workstation crashes (which is more likely), the 
system will repair itself within a short time.

hope that helps, have fun
Bob




-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to