HESK 3 session user logout

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
trainyoucan
Posts: 8
Joined: Fri Apr 29, 2016 10:56 am

HESK 3 session user logout

Post 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?
Ezra Steenkamp
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: HESK 3 session user logout

Post 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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
ashenfire
Posts: 20
Joined: Fri Jan 13, 2017 9:58 pm

Re: HESK 3 session user logout

Post 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.
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: HESK 3 session user logout

Post by Klemen »

Thanks for reminding us of the "hack" that helps to keep sessions open for longer!

Definitely something to try.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
topoldo
Posts: 51
Joined: Wed Sep 21, 2016 10:44 am

Re: HESK 3 session user logout

Post 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
Post Reply