Can it be a matter of current server datetime problems?
def is_expired(self, seconds = 3600): now =
datetime.datetime.today() if not self._last_timestamp or \
self._last_timestamp + \
datetime.timedelta(seconds = seconds) > now:
self._last_timestamp = now return False else:
return True
where the session expiration is being set?
--
Bruno Rocha
http://about.me/rochacbruno/bio

