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 - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -