Home > APEX_CUSTOM_AUTH > SET_SESSION_I...
Previous |
Next |
This procedure combines the operation of GET_NEXT_SESSION_ID
and SET_SESSION_ID
in one call.
Syntax
APEX_CUSTOM_AUTH.SET_SESSION_ID_TO_NEXT_VALUE;
Example
In the following example, if the current session is not valid, a new session ID is generated and registered.
IF NOT APEX_CUSTOM_AUTH.SESSION_ID_EXISTS THEN APEX_CUSTOM_AUTH.SET_SESSION_ID_TO_NEXT_VALUE; END IF;