Okay, never mind. There was an error elsewhere in my
code.
Denzil
--- Denzil Kruse <[EMAIL PROTECTED]> wrote:
> I'm still having a problem clearing the cookie, or
> at
> least with the browser realizing it has been
> cleared.
>
> What happens is this: The cookie is set, and my
> program behav
I'm still having a problem clearing the cookie, or at
least with the browser realizing it has been cleared.
What happens is this: The cookie is set, and my
program behaves as it is supposed to. When I decide
to clear it, I do it and display a form which will
recreate the cookie once the form is
--- [EMAIL PROTECTED] wrote:
> can you give a syntax example?
Here is a piece of what I'm doing:
if ($clear_cookie eq 'yes') {
my %cookies = fetch CGI::Cookie;
if ($cookies{'id'}) {
$cookies{'id'}->expires('-1s');
p
--- Wiggins d'Anconia <[EMAIL PROTECTED]> wrote:
> Denzil Kruse wrote:
>
> To clear the cookie in the user's client (browser)
> you have to "set" the
> cookie again by printing it in the response headers.
> You are only
> setting the local expiration, to have that
> maintained across the rest
Denzil Kruse wrote:
> Hi all,
>
> I'm trying to clear a cookie using CGI::Cookies, and
> can't seem to do it :(
>
> if ($clear_cookie eq 'yes') {
>
> my %cookies = fetch CGI::Cookie;
>
> print "getting cookie";
>
> if ($cookies{'id'}) {
>
> print "clearing cookie";
>