How to get cportal username by IP? And session id by username?
-
Hi –
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:
https://forum.pfsense.org/index.php?topic=77143.0Add a query for cpentry[4]
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.