kiai Posted November 10, 2011 Share Posted November 10, 2011 Hello, I was trying to integrate a chat system into whmcs admin pages but have a problem with getting the admin id basically the admin id is stored in session value WHMCSAdminID reading this works most of the time but for some reasons some admins dont have this value in the session cookie and it's getting the chat to think they are not logged in any ideas would be appreciated. 0 Quote Link to comment Share on other sites More sharing options...
WebsiteIntegrations Posted November 11, 2011 Share Posted November 11, 2011 in admin if you go to set up - administrators then using the edit button will it not give you the id (ie: action=manage&id=1) 0 Quote Link to comment Share on other sites More sharing options...
kiai Posted November 11, 2011 Author Share Posted November 11, 2011 I'm looking for retreiving the admin id from the session data however setting it to $_SESSION['adminid'] works for half of the users and not the others which is very weird. 0 Quote Link to comment Share on other sites More sharing options...
kiai Posted November 11, 2011 Author Share Posted November 11, 2011 nvm for some reason it wouldn't set the session name to default to some users forcing it to read it on the code worked just fine. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.