Ticket #15246: session_accessed_upd.diff
File session_accessed_upd.diff, 628 bytes (added by , 13 years ago) |
---|
-
django/contrib/sessions/middleware.py
24 24 else: 25 25 if accessed: 26 26 patch_vary_headers(response, ('Cookie',)) 27 if modified or settings.SESSION_SAVE_EVERY_REQUEST:27 if accessed or modified or settings.SESSION_SAVE_EVERY_REQUEST: 28 28 if request.session.get_expire_at_browser_close(): 29 29 max_age = None 30 30 expires = None