Oracle Apex - Public Navigation (Page and user)

Card Puncher Data Processing

About

The public navigation mechanism in Apex.

Definition

A public navigation means that:

This prerequisites are mandatory for the zero session ID feature.

Session

A public session in Apex is given by the the zero session ID feature. It means that the session id is set to zero (ie the single digit 0).

For example: where you might normally code the link to page 2 as

f?p=&APP_ID.:2:&APP_SESSION, 

you would code

f?p=&APP_ID.:2:0.

When you request a page with such an Apex URL, the Application Express engine assigns a new session ID and sends a session cookie containing this new session ID to your browser. This first URL starts the zero session ID mechanism

All further generated links to public pages contain 0 for the session ID and all branches to public pages have new URLs that use 0 as the visible session ID. Behind the scenes, however, the Application Express engine uses the session ID in the cookie as the actual session ID to locate session state.

By hiding the session ID, you:

By calling the Oracle Apex - URL you ensure that the session ID is set to zero.

APEX_UTIL.PREPARE_URL(p_url => 'f?p=' || :APP_ID || ':10:'|| :APP_SESSION ||'::NO::P10_ITEM:ABC');

API

Documentation / Reference





Discover More
Oracle Apex Page Type
Oracle Apex - (Application) page

A page is the basic building block of an database application. Application pages share a common: session state and authentication. Individual pages are organized using containers called regions....
Card Puncher Data Processing
Oracle Apex - Custom Authentication

Authentication Function Name: my_authentication PL/SQL Code: REQUESTApex URLPage processing section REQUESTApex URL“”page rendering session id To have proper redirection, the login function...
Card Puncher Data Processing
Oracle Apex - Public Navigation (Page and user)

The public navigation mechanism in Apex. A public navigation means that: the user is a public user (not authenticated), the target page is a public page in the current application This prerequisites...
Card Puncher Data Processing
Oracle Apex - Session (or application context)

A Session is created after : the authentication of a user the first visit of a public user with the zero session feature Each session is assigned a unique identifier. The Application Express...
Oracle Apex Application Security Public User
Oracle Apex - User

A user in Apex. Once a user has been identified, the Application Express engine keeps track of each user by setting the value of the variable APP_USER. APP_USER...



Share this page:
Follow us:
Task Runner