コード例 #1
0
ファイル: security.py プロジェクト: njervis/zenoss-prodbin
 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)
コード例 #2
0
ファイル: security.py プロジェクト: zenoss/zenoss-prodbin
 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)