Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> owa_cookie.remove doesn't work !
hi!
how can i remove the cookie and reset its value?
this is what i did but it does not work. any suggestions?
i set cookie like this
owa_util.mime_header('text/html',FALSE); owa_cookie.send('mycookie',to_char(5)); owa_util.http_header_close;
to retrive the cookie value,
l_mycookie owa_cookie.cookie;
l_mycookie := owa_cookie.get('mycookie');
if l_mycookie.num_vals > 0 then
value_of_cookie := l_mycookie.vals(1);
end if;
later to remove the cookie,
owa_util.mime_header('text/html',FALSE); owa_cookie.remove('mycookie',to_char(5)); owa_util.http_header_close;
now, after this point i expect that mycookie's value array is zero. but, if i retirve mycookie again and read the value,i see that its array size is still 1 and its holding the value 5 !
what am i doing wrong?
thanks.
nutron.
Received on Tue Oct 09 2001 - 11:56:05 CDT
![]() |
![]() |