Merge pull request #675 from andrebrait/fix/session-timeout-default

httpd: raise the default web session timeout to one hour
This commit is contained in:
Rob Emery authored and GitHub committed 2026-10-29 17:27:30 +00:00
commit 9a61e471ea
3 files changed
+7 -2

No files matched your search

+5
View File
@@ -23,6 +23,11 @@
## Changed ## Changed
- Web UI
- The web session expires after one hour without a request (was 200 seconds). The UI stops
polling while its tab is hidden, so with 200 seconds switching tabs for a few minutes logged
you out. `session <seconds>` still sets it.
## Fixed ## Fixed
- Time - Time
+1 -1
View File
@@ -371,7 +371,7 @@ netmask zzz.zzz.zzz.zzz = Network mask of the switch
port x name xxx = Name xxx the port number x port x name xxx = Name xxx the port number x
port z 1g = Set 1g speed for port z port z 1g = Set 1g speed for port z
igmp on/off = Turn IGMP on or off igmp on/off = Turn IGMP on or off
session xxxx = Web session timeout in seconds (default 200) session xxxx = Web session timeout in seconds (default 3600)
``` ```
[To be continue] [To be continue]
+1 -1
View File
@@ -12,7 +12,7 @@
// #define DEBUG // #define DEBUG
#include "debug.h" #include "debug.h"
#define SESSION_TIMEOUT_DEFAULT 200 #define SESSION_TIMEOUT_DEFAULT 3600
/* Seconds of inactivity after which a session cookie stops validating. /* Seconds of inactivity after which a session cookie stops validating.
* Configurable with the "session" command, see cmd_parser.c. */ * Configurable with the "session" command, see cmd_parser.c. */