Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to set an item to session state ?

Hi,

Under APEX 24.2.0 I have a form on p. 9. The item name is P9_ADRESSE. I want to put its value in session state.

I want P9_ADRESSE to be in the session state. I tried this but it does not work as I thought. On page LOAD I made a DA :

declare
  l_adresse lg_don.adresse%type;
begin
  select adresse
    into l_adresse
    from lg_don
   where id = :p9_ID;

  apex_util.set_session_state('P9_ADRESSE', NVL(l_Adresse, 'Adresse inconnue'));
end;

The item does not appear in the session state. Maybe I am mistaken.

Best regards.

This post has been answered by Christian Pitet 2 on May 11 2025
Jump to Answer
Comments
Post Details
Added on May 11 2025
3 comments
249 views