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

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -