getCurrentSessionAndUser

Syntax

getCurrentSessionAndUser()

Arguments

None

Details

Get the sessionId and username of the current session. Return a tuple with sessionId as the first element and userId as the second element.

Examples

getCurrentSessionAndUser()
// output
(1166953221,"admin")