Creating an auto logout timer of 30 minutes in PHP -


i need timer of 30 min auto logout quiz application coded in php. should forced one. if user doing activities.how implement that?

php not work runtime application, doesn't have state. frontend via javascript or other means need send request server on interval check if user still authenticated. check using php if user expired or not, in case action using frontend logic.

this way vague give definitive answer.


Comments

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -