Is there an easy way to delete the current session record from table 'logins' when a user logs off? Or at least the IP address? I don't like records of personal information lying around.
Thank you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There is no automatic way to do this. You can clear it manually by going to the mysql console or something like phpmyadmin and running the following query:
TRUNCATE TABLE `logins`;
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is there an easy way to delete the current session record from table 'logins' when a user logs off? Or at least the IP address? I don't like records of personal information lying around.
Thank you.
There is no automatic way to do this. You can clear it manually by going to the mysql console or something like phpmyadmin and running the following query:
TRUNCATE TABLE `logins`;