18.15 LOGOUT Procedure (Deprecated)
Note:
This procedure is deprecated. UseAPEX_AUTHENTICATION.LOGOUT
instead.
This procedure causes a logout from the current session by unsetting the session cookie and redirecting to a new location.
Syntax
APEX_CUSTOM_AUTH.LOGOUT (
p_this_app IN VARCHAR2 DEFAULT NULL,
p_next_app_page_sess IN VARCHAR2 DEFAULT NULL,
p_next_url IN VARCHAR2 DEFAULT NULL )
Parameter
Parameter | Description |
---|---|
p_this_app |
Current application ID. |
p_next_app_page_sess
|
Application and page number to redirect to. Separate multiple pages using a colon (:) and optionally followed by a colon (:) and the session ID (if control over the session ID is desired). |
p_next_url |
URL to redirect to (use this instead of p_next_app_page_sess ).
|
Example
The following example causes a logout from the current session and redirects to page 99
of application 1000
.
BEGIN
APEX_CUSTOM_AUTH.LOGOUT (
p_this_app => '1000',
p_next_app_page_sess => '1000:99');
END;
Parent topic: APEX_CUSTOM_AUTH