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.
Did you know?Explore Trending and Topic pages for more stories like this.

Thanks
No comments posted yet

Your Answer:

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

Wierd if else problem
Hi guys,

this probably aint wierd for you, but it seems like php is playin up to me. may b i

if description does not contain the following words
Hello everyone,

I am parsing a MS Excel (.xls) file and adding it's content to a mySQL databa

Help with PHP Email Script
Hi guys,

I'm a newbie to php and need help with the script below:

At the moment when I

IIS on 2003 anon access disabled issue
I have an IIS server that belongs to a domain, and anonymous access is turned off for all my sites.

php mail form text wont appear / javascript included
Guys/gals...

I am running into a problem whereby I have a great piece of javascript code that

Problems with strings containing
Hey all,

I have encountered something strange in a script. I am trying to write an XML heade

Server side $_SESSION
how does one keep the session completely server side. no cookies to the browser at all. i need this

Using the $_GET variable to view certain records
Hello,

First let me explain my problem, I have 2 pages the first page pull a list of Guide ti

Custom list order
Hi there,

I have checked this tutorial and it's great till the point where I want to display

Problems with adding a link to one position in a 'foreach' loop, please help
Hello!

Iam pretty new to programming and I wanna create a table with users from an array. It

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