Kayako logo
Developers & Code Interested in customizing your Kayako products? Discuss modifications and develop your own mods with the community.

Kayako develops robust helpdesk software, live chat and real-time visitor monitoring software.
Kayako is trusted by more than 30,000 organizations, including a number of Fortune 500 companies and government institutions.
Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  (#1) Old
nine Offline
New Member
 
Posts: 12
Join Date: Jan 2004
Online Staff Logic - 12-05-2009, 03:35 PM

Does anyone know what logic is used to determine if a staff user is online? Spent too much time already trying to find the code..

Much appreciated.
   
Reply With Quote
  (#2) Old
craigbrass Offline
Senior Member
 
Posts: 7,547
Join Date: Jun 2005
Location: Cumbria, UK
12-05-2009, 03:59 PM

There is a sessions table that contains all staff currently online. Every time a staff user changes pages, it updates that table. Sessions expire after 15 minutes of no activity.

If you are going to use this table, make sure you have a cron in place so that old sessions get cleared.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Click here for Kayako Software Development

My Addons: BlackBerry Ticket Client for Kayako - Windows Mobile Live Support Client for Kayako
   
Reply With Quote
  (#3) Old
nine Offline
New Member
 
Posts: 12
Join Date: Jan 2004
12-05-2009, 04:06 PM

Thank you. I saw that table but it wasn't (still isn't) obvious which column is identifying a staffer from an ordinary user. I expect it's sessiontype or typeid.
   
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Invalid Username or Password with AD slarson SupportSuite, eSupport and LiveResponse 15 13-05-2008 08:59 AM
How to see users online under staff CP? sqzdog How do I? 4 03-08-2007 01:40 PM



Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78