getCurrentSessionAndUser
Syntax
getCurrentSessionAndUser()
Arguments
None
Details
Get the session ID, username ("guest" if not logged in), remote IP address, and remote port number of the current session.
Return value: A tuple containing the above-mentioned elements.
Examples
getCurrentSessionAndUser()
// Output: (2333906441, "admin", "127.0.0.1", 60302)