|  Previous |  Next | 
This procedure sets session state for a current Oracle Application Express session.
Syntax
APEX_UTIL.SET_SESSION_STATE (
    p_name     IN    VARCHAR2 DEFAULT NULL,
    p_value    IN    VARCHAR2 DEFAULT NULL);
Parameters
Table: SET_SESSION_STATE Parameters describes the parameters available in the SET_SESSION_STATE procedure.
SET_SESSION_STATE Parameters
| Parameter | Description | 
|---|---|
| 
 | Name of the application-level or page-level item for which you are setting sessions state | 
| 
 | Value of session state to set | 
Example
The following example shows how to use the SET_SESSION_STATE procedure to set the value of the item 'my_item' to 'myvalue' in the current session.
BEGIN
    APEX_UTIL.SET_SESSION_STATE('my_item','myvalue');
END;