id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 3239 clear session method jbauer@… Adrian Holovaty "For some types of applications it's necessary/desirable to clear session variables at specific events (e.g. server start, user login). It would be convenient to have the following (untested) method available in SessionWrapper: {{{ def clear(self): try: self._session_cache.clear() except AttributeError: pass self._session.clear() }}} I'm aware the Django policy is to not make it easy for users to delete data, but this is pretty explicit that you want to ''clear'' your session data. " enhancement closed Contrib apps normal invalid Unreviewed 0 0 0 0 0 0