Hello,
I run a service business where employees go to customer homes.
I have a Joomla site where registered users (customers) can maintain details about the services they wish us to perform for them. At any point they can login and change these details.
I have functions that use TCPDF to generate PDF files (with user specific information) and to send those to a Dropbox account.
This all works great IF the user clicks "Logout". If the user just closes their browser, none of this happens.
How can I ensure that if the user session expires and/or the browser is just closed, that I can execute these functions as if the user clicked "Logout". I am at a complete loss.
Thank you for your help here.