summaryrefslogtreecommitdiff
path: root/program/include/rcube_session.php
diff options
context:
space:
mode:
Diffstat (limited to 'program/include/rcube_session.php')
-rw-r--r--program/include/rcube_session.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/program/include/rcube_session.php b/program/include/rcube_session.php
index e8bd9d06c..22aa55016 100644
--- a/program/include/rcube_session.php
+++ b/program/include/rcube_session.php
@@ -394,6 +394,18 @@ class rcube_session
/**
+ * Re-read session data from storage backend
+ */
+ public function reload()
+ {
+ if ($this->key && $this->memcache)
+ $this->mc_read($this->key);
+ else if ($this->key)
+ $this->db_read($this->key);
+ }
+
+
+ /**
* Serialize session data
*/
private function serialize($vars)