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
amnorvend Offline
New Member
 
Posts: 4
Join Date: May 2009
Can I check if a staff member is logged in? - 20-05-2009, 03:41 PM

Since there doesn't seem to be a way to set up a LoginShare for the staff and admin side, we set up a script that will handle our external authentication something like this:

(I will mainly refer to the staff side, but the process for the admin side is the same.)

1. Once external authentication is performed, look up a user's username and password.
2. Set $_SESSION['staff_in'] to true.
3. POST that data to /staff/index.php along with remember set to 1 and _ca set to login.

When the user goes to /staff/index.php, I added a line that will redirect them back to our external authentication if $_SESSION['staff_in'] is not set. At some point, this variable gets out of sync with SupportSuite's session. The result is that we get a "Your session has expired" message at some point and have to clear cookies to be able to log in.

It would be easier if I had a way to check if the user is logged in instead of keeping track of a session variable. Is there any way to do this?
   
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
How to see all on-line staff users bardfor SupportSuite, eSupport and LiveResponse 4 01-08-2008 09:43 PM
Tickets Close on Reply for 1 Staff member mblake1 SupportSuite, eSupport and LiveResponse 8 20-06-2008 05:00 PM
Insert staff does not add new staff member bronco_gordie SupportSuite, eSupport and LiveResponse 1 27-03-2008 07:52 AM
Automatically direct tickets to one staff member Lone_Domino Presales Questions 5 14-02-2008 08:27 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