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

ios - Pass NSDictionary from Javascript to Objective-c in JavascriptCore -

java - How to handle special characters while unmarshalling xml in JAXB -

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