From the brower dev tool, the cookies is shown below :

I would like to get the value of cokkie by name 'lemonldap' using this ( APEX 23.2 ) :
-- Fetch and print the current cookies
owa_cookie.get_all (names ,vals ,n );
apex_debug.info ('===> owa_cookie get_all : [%s]' ,n);
for i in 1.. n loop
`apex_debug.info ('===> owa_cookie name : [%s]' ,names(i));`
`apex_debug.info ('===> owa_cookie value : [%s]' ,vals(i));`
end loop;
cookie := owa_cookie.get('lemonldap');
for i in 1.. cookie.num_vals loop
apex_debug.info ('===> lemonldap value : [%s] ...' ,cookie.vals(i));
end loop;
but I can't. The value of n
or cookie.num_vals
is always zero, regardless the place where I put that code ( Before Header, Application Process, etc ).
Any idea why ?