diff --git a/roundup/cgi/client.py b/roundup/cgi/client.py
index 3b3be84bf6d65c2ca10b5f9d171802e82fea98ea..6208de88ebb08bd89929aa06a75a59b1f1c125d1 100644 (file)
--- a/roundup/cgi/client.py
+++ b/roundup/cgi/client.py
else:
self.db.close()
self.db = self.instance.open(username)
+ # The old session API refers to the closed database;
+ # we can no longer use it.
+ self.session_api = Session(self)
+
def determine_context(self, dre=re.compile(r'([^\d]+)0*(\d+)')):
"""Determine the context of this page from the URL: