Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Dancer-Session-Cookie CPAN distribution.

Report information
The Basics
Id: 81743
Status: new
Priority: 0/
Queue: Dancer-Session-Cookie

People
Owner: Nobody in particular
Requestors: ford.rick [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.15
Fixed in: (no value)



Subject: destroy() does not actually destroy session
The destroy method only removes the cookie from the parsed hash. Instead it needs to expire the cookie (and probably empty it as well). Replace delete Dancer::Cookies->cookies->{$self->session_name}; with Dancer::Cookies->cookie( $self->session_name => '', expires => '-1 day' );