Re: lots of session & POST thingy
| From: | Thomas Deliduka | Date: | Mon, 03 Jul 2000 14:35:13 +0000 |
| Subject: | Re: lots of session & POST thingy | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4491@lists.php.net to get a copy of this message | ||
I found it interesting that on 7/3/00 3:42 AM Subhrajyoti Moitra said:
> secondly once the user logs out "properly" by clicking on the logout
> button i delete his entry from the table... but what if he doesnt ... he
> just kills the browser ... the session is dead but the the database still
> holds the ID and info .... in course of a time.. i need to clean up my
> databse ..... this is a bigger pain ....
>
> what does experts suggest i do in this case . please .. i need this badly
In the case of cleaning up the db. make sure there's a date stamp on each
record and then on the front page of the site, just quickly run code to
delete all records older than a certain amount of time, shouldn't make it
too heavy on the server to do that. Or create a cron job.
--
Thomas Deliduka
IT Manager
-------------------------
New Eve Media
The Solution To Your Internet Angst
http://www.neweve.com/