Do not try to delete session with double cookie in single session (#1059)
This commit is contained in:
parent
07c56321de
commit
e5f360ea43
|
@ -401,7 +401,9 @@ sub _deleteSession {
|
||||||
if ( $self->{securedCookie} >= 2 ) {
|
if ( $self->{securedCookie} >= 2 ) {
|
||||||
|
|
||||||
# Try to find a linked http session (securedCookie == 2)
|
# Try to find a linked http session (securedCookie == 2)
|
||||||
if ( my $id2 = $session->data->{_httpSession} ) {
|
if ( $self->{securedCookie} == 2
|
||||||
|
and my $id2 = $session->data->{_httpSession} )
|
||||||
|
{
|
||||||
if ( my $session2 = $self->getApacheSession( $id2, 1 ) ) {
|
if ( my $session2 = $self->getApacheSession( $id2, 1 ) ) {
|
||||||
$session2->remove;
|
$session2->remove;
|
||||||
if ( $session2->error ) {
|
if ( $session2->error ) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user