I want to run a query against the UFS DB to get the IP address of connected users (The same info available under Help->View Connected Users)
I went to create a resource against the UFS connection but am not sure which table under the UFS schema to reference).
Where would I find this ?
Query connected users
Moderators: Jon, Steve, Ian, Dave
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
We don't store this information in the database so I'm afraid there isn't a table that you can query. You can get the IP address of the current session using:
Perhaps you could use this to construct your own table, but you would also need to intercept the end of each session to remove completed sessions.
Code: Select all
var ipAddress = client.request.remoteAddr;
0 x
-
- Ebase User
- Posts: 649
- Joined: Mon Dec 09, 2013 6:37 pm
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
Who is online
Users browsing this forum: No registered users and 16 guests