web/views/sessions.py
changeset 2706 09baf5175196
parent 1977 606923dff11b
child 2887 1282dc6525c5
child 4212 ab6573088b4a
--- a/web/views/sessions.py	Wed Aug 05 18:18:12 2009 +0200
+++ b/web/views/sessions.py	Wed Aug 05 18:56:22 2009 +0200
@@ -22,6 +22,11 @@
         #assert isinstance(self.authmanager, RepositoryAuthenticationManager)
         self._sessions = {}
 
+    def dump_data(self):
+        return self._sessions
+    def restore_data(self, data):
+        self._sessions = data
+
     def current_sessions(self):
         return self._sessions.values()