in reply to Security: Dancer Session cookie swap
# cache session here instead of flushing/reading from cookie all the t +ime my $SESSION = undef;
I don’t know the request cycle Dancer uses or the server you’re running on but I would guess if you have a persistent process, that up there is the problem. It’s not reset in init like their other two “cache” vars. Try adding this to lib/Dancer/Session/Cookie.pm and see if the problem rears its head again–
sub init { my ($self) = @_; $SESSION = undef; # <- new bit.
You should file a ticket against this issue if you really are seeing it and you should include this info or a link to the thread if it helps.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Security: Dancer Session cookie swap
by Anonymous Monk on Jun 11, 2014 at 10:11 UTC | |
by Your Mother (Archbishop) on Jun 11, 2014 at 15:49 UTC | |
|
Re^2: Security: Dancer Session cookie swap
by Anonymous Monk on Jun 06, 2014 at 00:16 UTC | |
|
Re^2: Security: Dancer Session cookie swap
by locked_user sundialsvc4 (Abbot) on Jun 05, 2014 at 21:15 UTC |