COMMANDCLASS _RELOGIN

Purpose:

It allows to maintain a session token in use. This function will reset the 15min. expiration counter. See _LOGIN for more details.

Minimum version for the target server required: v17.0.7.

Input parameters:

  • CommandClass = _RELOGIN
  • Param1 = target CyberName.
  • Param2 = Session Token.

Output:

[{“ResponseClass”: “ERROR”, “Param1”: “message”, … }]
[{“ResponseClass”: “OK”, “Param1”: “CyberName”, “Param2”: “Session Token”, “Param3”: “CurrentUserName for the provided session”, “Param4”: “Attribs” }]

Example of usage:

https://wingamer.ar/ApiMasterControl/Comm.php?CommandClass=_RELOGIN&Param1=flulpycrea&Param2=SessionToken

Notes:

Returning Param3 is only available on servers v17.0.69 or newer.