Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed issue with session validators when a custom session handler is …

…defined
  • Loading branch information...
commit f6ac81a4effa86cc9549964e6e495506822fa9de 1 parent 601924d
Justin Verweel authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 library/Zend/Session/SessionManager.php
View
7 library/Zend/Session/SessionManager.php
@@ -84,9 +84,7 @@ public function start($preserveStorage = false)
}
session_start();
- if (!$this->isValid()) {
- throw new Exception\RuntimeException('Session validation failed');
- }
+
$storage = $this->getStorage();
// Since session is starting, we need to potentially repopulate our
@@ -97,6 +95,9 @@ public function start($preserveStorage = false)
}
$_SESSION = $storage;
}
+ if (!$this->isValid()) {
+ throw new Exception\RuntimeException('Session validation failed');
+ }
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.