Skip to content

GetID() ​

ts
// in class: Session
function GetID() string;

Retrieves the current session’s ID, which is a unique ID in string format.

Example ​

ts
{
  var sid = Session.GetID()
  // sid will contain a string like "prDqzL4V5jkauJZP9Nmt2e"
}