Greg Stark wrote:
> 
> How do I reliably remove a cookie from a browser's memory? I've only just
> begun to experiment but it seems if I set the cookie to "" or undef
> Apache::ASP doesn't send the right headers to remove the cookie. (Actually
> undef seems to corrupt the cookie). I could just write a handler to set the
> header appropriately but I'm not even sure what I should be putting in the
> header.
> 

What about setting the cookie with an expires date in the past?

$Response->{Cookies}{YourCookie} = {
  Value   => '',
  Expires => -86400,
};

-- Josh

_________________________________________________________________
Joshua Chamas                           Chamas Enterprises Inc.
NodeWorks >> free web link monitoring   Huntington Beach, CA  USA 
http://www.nodeworks.com                1-714-625-4051

Reply via email to