- Jan 17, 2000
- 1,419
- 0
- 0
Hi. I've already written an app that solves the problem below, but I'm looking to enhance the app. After the description of the original problem, I've included a new problem
Our website offers Live Customer Service via chat. If there are no operators available, the link to the live chat shouldn't be there. I wrote a program that resides in the system tray that allows operators to login to a MySQL database on our server and update whether or not they're available. If they are available, then the link is displayed. When they close the app, or choose to logout, the link is no longer displayed.
Here's my latest problem. Our operators are forgetting to logout, so the link stays up. Now I need to find a way to determine if there has been no system activity (Instant Messenger has a perfect implementation of this), to automatically log the operator off (so there is no link to the Live Chat) and tell the operator they've been logged out.
How would I get started on this? I've loaned out all of my books, so I don't have any books here, so sample code would be extremely appreciated.
Mark
Our website offers Live Customer Service via chat. If there are no operators available, the link to the live chat shouldn't be there. I wrote a program that resides in the system tray that allows operators to login to a MySQL database on our server and update whether or not they're available. If they are available, then the link is displayed. When they close the app, or choose to logout, the link is no longer displayed.
Here's my latest problem. Our operators are forgetting to logout, so the link stays up. Now I need to find a way to determine if there has been no system activity (Instant Messenger has a perfect implementation of this), to automatically log the operator off (so there is no link to the Live Chat) and tell the operator they've been logged out.
How would I get started on this? I've loaned out all of my books, so I don't have any books here, so sample code would be extremely appreciated.
Mark
