Home > APEX_CUSTOM_AUTH > DEFINE_USER_S...
Previous |
Next |
This procedure combines the SET_USER
and SET_SESSION_ID
procedures to create one call.
Syntax
APEX_CUSTOM_AUTH.DEFINE_USER_SESSION( p_user IN VARCHAR2, p_session_id IN NUMBER);
Parameters
Table: DEFINE_USER_SESSION Parameters describes the parameters available in the DEFINE_USER_SESSION
procedure.
DEFINE_USER_SESSION Parameters
Parameter | Description |
---|---|
|
Login name of the user. |
|
The session ID. |
Example
In the following example, a new session ID is generated and registered along with the current application user.
APEX_CUSTOM_AUTH.DEFINE_USER_SESSION ( :APP_USER, APEX_CUSTOM_AUTH.GET_NEXT_SESSION_ID);