Author Topic: Find an agent's status before he logs on  (Read 4275 times)

Offline Remits

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
Find an agent's status before he logs on
« on: June 20, 2007, 08:30:26 PM »
Hi

How can I find what the status of an agent is before he logs on.  I am trying to prevent an agent from logon twice.  Currently an agent can logon with the same agent-id and using the same place twice on the same Desktop.  An agent can also do the same using two different machines as long as the first instance is in NOT READY mode.  I'm using Agent Interaction SDK 7.2 (Java API).

Thanks,

Dave.
« Last Edit: June 21, 2007, 09:20:51 AM by victor »

Offline victor

  • Administrator
  • Hero Member
  • *****
  • Posts: 1416
  • Karma: 18
Re: Find an agent's status before he logs on
« Reply #1 on: June 21, 2007, 09:24:13 AM »
Dave:

You can find the code here :

http://www.sggu.com/smf/index.php/topic,2258.0.html

you use user0data in EventRegistered to see if agent is logged in or not. :)

Best regards,
Vic