A
A
Alexsey2014-12-09 14:24:05
PHP
Alexsey, 2014-12-09 14:24:05

How to implement similar functionality?

There is some abstract application (web, mobile application).
After authentication, the user starts a timer. Only one timer can be active. The time range when the timer starts is known. If the user switches to another application (for example, mobile), he should get into his session.
So far, from ideas: when starting the timer, put a timestamp (startTimer) and a sign (taskComplete) in the database, and check it at startup.
PHP backend using RESTful API.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
maaGames, 2014-12-09
@maaGames

cookies?

A
Alexander, 2017-04-06
@Alex1237

Does it work
b2ba0330edb54a54a57a80569184e495.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question