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

help with contest script
I would like to code a contest script to my site but i don't know how. Could someone just give me pu

Run function every 5 mins ??
I have a function PostMessage()

How can I run it every 5 mins ??

TimeZoneOffset
Hello,

Please i need your help. I have a system that users can use to punch in and out. This

Inserting into MySQL Newbie
Hi ive got a slight problem where ive made a simple web form where the customer inserts the ammount

Troubles with a spider class
I am building a spider that will crawl through random whitepages (eg. anywho.com, switchboard.com, w

need help in update query
hi
i have a dynamic form. i need help in how can i use update query when values from dynamic for

Need help Updating SQL Server Express DB from c# :(
Please can anyone help with:-
1 How to sructure the strSelect statement.
2 How to instruct

Help! refer to a friend script with captcha code
Hi guys, I am posting on here in desperate need for some help with an ongoing search I have been doi

How to schedule the a job?
Hi,
I have prepared a task ( i.e. a procedure is prepare the file and send the same to con

Unable to retreve the values from Mysql Query
Hi,

Here is the php code that I have, Query is running properly in phpmyadmin and is resu

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