owa_cookie.remove does not work!

From: nutron <nutron2000_at_yahoo.com>
Date: 9 Oct 2001 09:56:49 -0700
Message-ID: <e4ed71f5.0110090856.241d9387_at_posting.google.com>



hi!
[Quoted] 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 - 18:56:49 CEST

Original text of this message