itflow-org / itflow

Free and open-source web application for MSPs. Unifies IT documentation, ticketing, invoicing.
https://itflow.org
GNU General Public License v3.0
569 stars 147 forks source link

Add background ajax query in an attempt to prevent session timeout #781

Closed wrongecho closed 1 year ago

wrongecho commented 1 year ago

Whilst this isn't something I've run into myself, we've had a few posts on the forum about sessions timing out when working on things like editing documents.

This PR adds a AJAX background query to keepalive.php every 10 mins which should keep sessions alive.

wrongecho commented 1 year ago

Test these changes at: https://sessiontimeoutgarbageworkaround781.pr-review.itflow.org
(automatic message)

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
8.0% 8.0% Duplication