summaryrefslogtreecommitdiff
path: root/source4/web_server
diff options
context:
space:
mode:
Diffstat (limited to 'source4/web_server')
-rw-r--r--source4/web_server/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/web_server/http.c b/source4/web_server/http.c
index 77a333f003..a5c546beb9 100644
--- a/source4/web_server/http.c
+++ b/source4/web_server/http.c
@@ -734,7 +734,7 @@ static void http_setup_session(struct esp_state *esp)
s->data = NULL;
s->te = NULL;
s->edata = edata;
- s->lifetime = lp_parm_int(NULL, "web", "sessiontimeout", 900);
+ s->lifetime = lp_parm_int(global_loadparm, NULL, "web", "sessiontimeout", 900);
DLIST_ADD(edata->sessions, s);
talloc_set_destructor(s, session_destructor);
if (!generated_key) {