diff --git a/lib/websession.py b/lib/websession.py
index <HASH>..<HASH> 100644
--- a/lib/websession.py
+++ b/lib/websession.py
@@ -130,6 +130,10 @@ class pSession(Session):
                                  sessionId)
         try:
             s = cPickle.loads(blob_to_string(res[0][0]))
+            try: # For backward compatibility with old sessions
+                s.__remember_me
+            except AttributeError:
+                s.__remember_me = False
         except cPickle.UnpicklingError:
             raise SessionNotInDb("Session %s is broken" % \
                                  sessionId)
Fixed session library to be able to load old sessions (without __remember_me
attribute).