In my apex app, I have an array I want to store as an application item. When I try to do this like (APP_ITEM_ARRAY is an "application item"):
declare
TYPE array_t IS TABLE OF VARCHAR2(255);
lv_arr array_t;
begin
:APP_ITEM_ARRAY := lv_arr;
end;
I get an error (expression is wrong type). So for now I'm testing using an apex_collection, which seems usable on my pages. But I'm a little unsure, are these part of the users session?
How best to store (pl/sql) arrays in session state for Apex to use across pages?
In my use case, the array is actually a list of groups the logged in user is in...so I also need an easy way to determine whether the user is in a group, or not, ala some kind of "exists" or "member of" and then on my pages I'll use that...show hide Buttons, Nav Items, etc.