Joomla execute script when timeout?
- by Romain
My question may be a noob one but:
I want to execute a php script when a user timeout. The only way I found to do so is to make the server execute a script every second or minute for instance, get the last activity of every user and execute a script when the last activity is older than (now() - timeout).
is this the appropriate solution? Is this will slow the website significantly?
Many thanks in advance!