Improve session destroy propagation (#2758)
This commit is contained in:
parent
61a913b8c0
commit
59c781b393
|
@ -56,7 +56,7 @@ sub materialize {
|
|||
|
||||
# Get session from cache
|
||||
my $id = $session->{data}->{_session_id};
|
||||
if ( $self->cache->get($id) ) {
|
||||
if ( !$self->{args}->{noCache} and $self->cache->get($id) ) {
|
||||
$session->{serialized} = $self->cache->get($id);
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -213,7 +213,8 @@ sub update {
|
|||
return 0;
|
||||
}
|
||||
|
||||
my $data = $self->_tie_session($tieOptions);
|
||||
my $data = $self->_tie_session(
|
||||
{ ( $tieOptions ? %$tieOptions : () ), noCache => 1 } );
|
||||
|
||||
if ($data) {
|
||||
foreach ( keys %$infos ) {
|
||||
|
|
Loading…
Reference in New Issue