How to get cportal username by IP? And session id by username?
A bit new here .. how do I get the captive portal username by IP? What about session id by username (or is there a $_SERVER thing I can do to get the ID, assuming it's a cookie)?
My goal is, on the logout page, I want it to show the username before they logout (small thing for future tests)
Use the already-connected function described by Gert-Jan in this topic:
Add a query for cpentry