def initialize(self, request, response):
		super(RequestHandler, self).initialize(request, response)
		try:
			self.session = CookieSession.load(request, response)
		except NoSIDError:
			self.session = CookieSession(None, self.response)
		except BadSignatureError:
			self.session = CookieSession(None, self.response)
		else:
			self.session.flash_msg = self.session.pop('flash_msg', '')
			now = timegm( gmtime() )
			try:
				atime = int( self.session['atime'] )
			except __HOLE__:
				self.session.end()
				return
			if now - atime > SESSION_TTL:
				self.session.end()
				return
			if now - atime > SID_TTL:
				self.session.regen()
dataset/ETHPy150Open aht/suas/suas/session.py/RequestHandler.initialize