I would like to only allow a user to be logged in on one PC at a time to avoid username/password sharing. I would also like to accomplish this without logging them in and out of the database if possible.
Right now, I write to an application variable their userid once they login, or check if their userid exists in that list when they login. All works EXCEPT, how can I remove their userID from that application variable list when their session timesout. My session timeout is set to 19 minutes. When session is over, I need to remove their id from the list. If they click the logout button then I manually remove it and that is no problem.
DeZiner
Never be afraid to try something new.
Remember that amateurs built the Ark.
Professionals built the Titanic
Right now, I write to an application variable their userid once they login, or check if their userid exists in that list when they login. All works EXCEPT, how can I remove their userID from that application variable list when their session timesout. My session timeout is set to 19 minutes. When session is over, I need to remove their id from the list. If they click the logout button then I manually remove it and that is no problem.
DeZiner
Never be afraid to try something new.
Remember that amateurs built the Ark.
Professionals built the Titanic