2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-17 09:17:16 +00:00

remaining shared-use machine cookie tyimeouts set

This commit is contained in:
2025-06-25 23:39:41 +03:00
parent c29548db01
commit c89e8cea90
6 changed files with 10 additions and 11 deletions

View File

@@ -441,7 +441,7 @@ def svx(request, survex_file):
else:
edit_response = render(request, "svxfile.html", vmap)
edit_response.set_cookie('editor_id', editor, max_age=get_cookie_max_age(request)) # cookie expires after get_cookie_max_age() seconds
edit_response.set_cookie('editor_id', editor, max_age=get_cookie_max_age(request)) # cookie expires after get_cookie_max_age(request) seconds
print(f"Cookie reset: {editor} for another {get_cookie_max_age(request)/3600} hour(s)")
return edit_response