Hi guys, not sure if this is the right place for this question, sorry if it isn't.
We run a pretty heavily customized front end for Mikrotik hotspot services with a radius back-end and customized scripting and advertising through the login process.
We are wanting to get a bit more granularity with our logging and understanding a bit more about our users and track advertising a bit better.
Currently we log a fair bit of info into MySQL as the user logs in, browser type, site they are logging in from, device OS, date, time etc, one thing we haven't been able to grab which is messing with our heads is the login ID that the user enters.
Once the user enters their username and password on our login page, it runs the standard do.login function and then redirects the user after a successful login to a web pages which tells them they have logged in successfully, we re-write the "dst=" hidden field to do this.
What we need to do when we process the user login is to get a log entry at that point to grab the username.
The username is entered into a field called "username" on the webpage, which from memory is standard mikrotik method, but I need to know how I can grab that and use it for logging.
Any suggestions ?