php - Continuous background ajax call keeping session alive -


i've got ajax checks every 5 seconds if there overdue reminders on website. php script calls uses php session , since implementing users never logged out after inactivity if have site open in browser, because session never expires.

i don't want make php session expire after fixed time regardless of activity because don't want interrupt work user may in middle of either.

with in mind, solution issue?


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -