"under the session array" implies that there is already an existing array, correct? I just added it to the end of the file, only before the last closing bracket, like this:
[...]
array (
'poweredByHeader' => true,
'referrerPolicy' => 'same-origin',
),
'session' => [
'lifetime' => 10080, // lifetime in minutes
],
);
Might be obvious for php guys, but just to clarify, maybe it helps others.
As this might be a work around, the issue IMHO is the strange behaviour of flarum if the session has expired. Shouldn't it be that a pop up appears and says "Session expired. Please log on again." and offer login mask and the forward to the original request?
I experience time out just when editing an answer that takes me more than an hour (As mod, I try to create valuable, content rich posts, so this takes some time ...).
Thanks for listening and for the work around.
Marcus