6 39 LceGetSessionId

LANSA Open Guide

6.39 LceGetSessionId

Obtains a valid session identifier. This is usually the first function issued by your application.

int

LceGetSessionId

(VOID ) 

 

 

 

 

 

  

Parameters

None

Return Values

The returned value is a positive session identifier.

0 is returned if a new session cannot be allocated.

Notes

The session ID is used as a parameter in the following functions to indicate which session is being referenced.

More than one session ID can be retrieved and then opened using LceOpenSession.

  • All functions that use the session id must be executed after this function.

Related Functions

6.46 LceOpenSession

6.13 LceEndSession