cookie CmNewSessionUvd

Description

CmNewSessionUvd starts a new session for the CmContainer associated with the given 'login number' .

The new session is valid for 24 hours.

tmr_02

Triple Mode Redundancy-related information (TMR)

  • C, C++
  • C#
  • Python

Syntax

int CMAPIENTRY CmNewSessionUvd(CMUSHORT usLogin);

Parameter

usLogin contains a 'login number'.

Return

TRUE(1) is returned in the case of success. If an error occurs, 0 is returned.

Error codes may be as follows:

•CMERROR_INVALID_LOGIN, if the specified 'login number' is not in use.

•CMERROR_SESSION_EXPIRED, if the session used to create usLogin is expired.

•CMERROR_WRONG_BOX_VERSION, if the Firmware version of the CmContainer is too old.

•CMERROR_FUNCTION_NOT_SUPPORTED , if used with CmActLicense Firm Code or CmActLicense Universal Firm Code container.

Notes

Only CmDongle is supported. A Minimum CmDongle Firmware Version of 4.40 is required.

All 'login numbers' created without the flag CM_UVD_KEEP_PASSWORD (see CmLoginUvd) will become invalid.

No method available.

 

Not implemented.