Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: PL/SQL cookie
declare variable like
ck_names owa_cookie.vc_arr -- this is a pl/sql table
ck_values owa_cookie.vc_arr -- this is a pl/sql
table
ck_count integer
this call
owa_cookie.get_all(ck_names,ck_values,ck_count);
sets up the pl/sql tables and the count
if ck_count != 0 then
for i in 1..ck_count loop
htp.p('Cookie : '||ck_names(i)||' = '||ck_values(i));
end loop;
end if;
This should put all the cookies on your page
cookie1 = value1
cookie2 = value2
Hope this helps
Daryl Collins
DooHee Kim~ wrote:
Hi,Received on Tue Jul 27 1999 - 09:07:05 CDT
I have a question as to how to use owa_cookie.get_all method.
I read the explanation and it 's supposed to return an array of cookie
names and values, but what exactly do I pass in and receive into?I've set up the code as:
cookie owa_cookie.cookie;
cookie = owa_cookie.get_all (cookie.name, cookies.vals, cookie.val_nums);
Coudl somone explain how it 's properly done?
Thanks in advance.
![]() |
![]() |