Page 1 of 1

HESK 3 session user logout

Posted: Thu Jul 23, 2020 1:23 pm
by trainyoucan
Script URL:
Version of script: 3
Hosting company: domains.co.za
URL of phpinfo.php: 7.4
URL of session_test.php:
What terms did you try when SEARCHING for a solution: hesk user session logout

Write your message below:
Is it possible to edit the user session time before it will log the user out? So for example, extending it from 1 hour to 6 hours?

Re: HESK 3 session user logout

Posted: Thu Jul 23, 2020 3:11 pm
by Klemen
Session timeout is controlled in PHP settings, not in Hesk.

You will need to modify your PHP configuration, most likely the session.gc_maxlifetime parameter. Also, check that session.cookie_lifetime is either 0 or equal to the gc_maxlifetime parameter.

Re: HESK 3 session user logout

Posted: Wed Jul 29, 2020 11:32 am
by ashenfire
Typing 'session timeout' in the support forum search bar will give several answers. One is detailed:
viewtopic.php?p=25180#p25180


It is my question that was anwered and was working too!

Pay attention to FOOTER, HEADER, and REFRESH.
Also adjust PHP server settings on your site server.

Re: HESK 3 session user logout

Posted: Wed Jul 29, 2020 11:53 am
by Klemen
Thanks for reminding us of the "hack" that helps to keep sessions open for longer!

Definitely something to try.

Re: HESK 3 session user logout

Posted: Sat Aug 01, 2020 10:08 am
by topoldo
Klemen wrote: Wed Jul 29, 2020 11:53 am Thanks for reminding us of the "hack" that helps to keep sessions open for longer!
Definitely something to try.
I presently use Hesk 2.8.6 + MfH 2020.1.0 and at every update of Hesk/MfH distributions I remember to add "refresh.php" to their "standard" distribution :P :D
Topoldo