Menu

Deleting login session logs

Help
2007-07-06
2013-04-29
  • Nobody/Anonymous

    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.

     
    • Dan

      Dan - 2007-07-18

      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`;

       

Log in to post a comment.