Cancel Session

Description

Cancels a Metrici session.

This marks the Metrici session as inactive.

It does not require authorisation other than the session token because only authorised processes should know the session token, and they are long enough not to be guessable. In any case, an invalid attempt to cancel a session should cancel the session, for safety.

It returns a success error code even if the session is not found.

Input

<CancelSession>
<sessionToken/>
</CancelSession>

Output

<CancelSession>
<errorNumber>0</errorNumber> </CancelSession>

Errors

103 - parameter error.

Class

com.metrici.xerula.CancelSessionService