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

how to use two buttons with php
hi i have one form. there are three fields which are to be filled by the user. and then there are tw

Question about ShowWindow()
Hello....

I'm struggling with sumpin, and I hope y'all can help.

I've got a CFormView

Echo Tweaking help!
HI. I would like to have the output of the entered variables repeat forever, but it's stopping at th

Performance impact of cookies
Hi, I was just wondering what impact there would be in terms of performance if you where to set then

how do i make new line after *
First check this page here. and you see my report. Im pulling form a mysql db. I want to beable to m

admin with my register system?
Hey i wana make it so i can make a admin level on my register system , I'm kinda new to php to im no

I need some help with the IF command...
I have a large number of images in one section of my website with the .jpg format. I'm adding a bun

Interpret Order
Hello all,

I'm wondering if I have this:

Code: $switch = array(
'one' =>

restricting another login once you logout
Hello,

how can I restrict a page from login authenticating against info in a MySQL DB for a s

php file erros / need help please
Hello

Someone decoded a zend file for me.. after uploaded it on ftp i get some errors, i trye

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