Subject unsubscribe
Author Mark Irving
----- Original Message -----
From: "Jason Fischer" <jfischer@...>
To: "Delphi Programing (E-mail)" <delphi-programming@yahoogroups.com>;
"IBObjects (E-mail)" <IBObjects@yahoogroups.com>
Sent: Wednesday, August 21, 2002 3:40 PM
Subject: [IBO] Controlling amount of users logged in


> Hi all
>
> I am writing an app that requires me to only let a certain number of users
> log in at the same time.
> I am using D5, Firebird and IBO for this.
>
> I have a user name and password that gets used to automatically log into
> firebird.
> I then have a table with users in it that I use to verify if the entered
> user name and password are valid.
> When this gets gone I update a flag that says that the user is logged in.
> When they log out the flag then gets updated to false.
> I use a query to do all this.
>
> 1) What I want to do is only allow a certain amount of users to access the
> program at once.
>
> 2) My other concern is what happens if the machine bombs out and the
logged
> in flag never gets reset, how do I know if the logged in flag is still
> valid.
>
> Any help and suggestions would be much appreciated.
>
>
>
>
___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or
InterBase
> without the need for BDE, ODBC or any other layer.
>
___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info
papers,
> keyword-searchable FAQ, community code contributions and more !
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>