Example #1
0
 def at_repeat(self):
     "called every 60 seconds"
     global _SESSIONS
     if not _SESSIONS:
         from src.server.sessionhandler import SESSIONS as _SESSIONS
     #print "session check!"
     #print "ValidateSessions run"
     _SESSIONS.validate_sessions()
Example #2
0
 def at_repeat(self):
     "called every 60 seconds"
     global _SESSIONS
     if not _SESSIONS:
         from src.server.sessionhandler import SESSIONS as _SESSIONS
     #print "session check!"
     #print "ValidateSessions run"
     _SESSIONS.validate_sessions()