How would I do "Users not logged in since *** delete them"


Posted on 16th Feb 2014 07:03 pm by admin

I know how I would set this up, and delete the user roughly.
I'll create a table called "Users Status" with ID, Username, date registered, and last logged in collumns. Last Logged in will be recorded as years, and will be set on every page. I will then be checking in admin control panel, if the user has not been logged in since whatever year. Delete them.

I was wondering if this is the best way to do it? or would there be an easier way.

Thanks

No comments posted yet

Your Answer:

Login to answer
184 Like 50 Dislike
Previous forums Next forums
Other forums

Developing Ajax-enabled ASP.Net applications for the iPhone
I would like to develop Ajax web applications using Visual Studio that are optimized for the iPhone.

A problem with my GD class
Hello,

I created a nice (and simple for now) GD class.
The problem is , it works great on

asking for direction
I have 2 tables in my data, which are "post" and "event"
I won't make a summa

From Header Showing 'Unkown' In Hotmail? Why?
Code: $to = $row_GetID['email_addr'].',sales@mywebaddress.co.uk';
$subject = 'Thank you for you

Form errors in an array
I'm processing a form and putting the errors in an array. empty($errors) doesn't seem to do the tric

What am I missing here? Help!
Hello all!. I can't seem to get this working right. Well - it renders right, but something is goin

Error: SQL Syntax; Line 1
Code:

<?php require "global_settings.php"; ?>
<title&g

help connecting a form to php and then emailing the form
Ok. So, I made a form, and I need help to where when submitted, I get an email with the submitted de

Session variable help
I'm having a very troubling issue. Maybe I'm just looking over something but I have looked at the co

use an array from 1 class in a second class
I have a class that adds data to an array

Then I have a second class and I need to check if t

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash