boatcoder Posted July 5, 2017 Share Posted July 5, 2017 I'm writing a registrar module and am trying to figure out the best way to get the clientID for the logged in client that is registering a domain. I only need the client ID and the idea is to link it within our system to make looking at issues easier for our support group. Since Registrar calls don't get the request object, I need some other way to get this information. 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted July 5, 2017 Share Posted July 5, 2017 what about: $clientid = $_SESSION['uid'] or client context: $client = Menu::context('client'); 0 Quote Link to comment Share on other sites More sharing options...
boatcoder Posted July 5, 2017 Author Share Posted July 5, 2017 That did it. 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.