This procedure sets APEX_APPLICATION.G_INSTANCE global variable. This procedure requires the parameter P_SESSION_ID (NUMBER) which specifies a session ID.
Syntax
APEX_CUSTOM_AUTH.SET_SESSION_ID( 
    p_session_id    IN    NUMBER);
Parameters
Table 9-8 SET_SESSION_ID Parameters
| Parameter | Description | 
|---|---|
| 
 
  | 
 The session ID to be registered.  | 
Example
In the following example, the session ID value registered is retrieved from the browser cookie.
APEX_CUSTOM_AUTH.SET_SESSION_ID(APEX_CUSTOM_AUTH.GET_SESSION_ID_FROM_COOKIE);
Parent topic: APEX_CUSTOM_AUTH