23.9 GET_PAGE_VIEW_ID Function
This function returns the current page view identifier, which is a unique ID for each browser request or standalone database session. The value is null until the first debug message has been generated.
Syntax
APEX_DEBUG.GET_PAGE_VIEW_ID (
RETURN NUMBER );
Example
The following example prints the page view identifiers before and after emitting debug output.
BEGIN
sys.dbms_output.put_line('Page View ID='||apex_debug.get_page_view_id);
apex_debug.message('Hello', p_force => true);
sys.dbms_output.put_line('Page View ID='||apex_debug.get_page_view_id);
END;
Parent topic: APEX_DEBUG