Ejemplo n.º 1
0
 def _getSessionData(self, id):
     # For some reason Products.BeakerSessionDataManager doesn't support getSessionDataByKey
     #sess = self.context.session_data_manager.getSessionDataByKey(sessionId)
     session = ISession(self.context.REQUEST)
     return session.get_by_id(id)
Ejemplo n.º 2
0
 def _getSessionData(self, id):
     # For some reason Products.BeakerSessionDataManager doesn't support getSessionDataByKey
     #sess = self.context.session_data_manager.getSessionDataByKey(sessionId)
     session = ISession(self.context.REQUEST)
     return session.get_by_id(id)