web/request.py
changeset 10354 635cfac73d28
parent 10331 6f25c7e4f19b
child 10355 60b8204fcca3
--- a/web/request.py	Fri Jun 13 13:54:28 2014 +0200
+++ b/web/request.py	Tue Jun 10 16:01:49 2014 +0200
@@ -1002,6 +1002,8 @@
         return self.cnx.transaction_data
 
     def set_cnx(self, cnx):
+        if 'ecache' in cnx.transaction_data:
+            del cnx.transaction_data['ecache']
         self.cnx = cnx
         self.session = cnx._session
         self._set_user(cnx.user)