R: [PHP] R: [PHP] Authentication: is it a good solution?
| From: | n e t b r a i n | Date: | Thu, 28 Sep 2000 06:43:58 +0000 |
| Subject: | R: [PHP] R: [PHP] Authentication: is it a good solution? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-17830@lists.php.net to get a copy of this message | ||
> Max,
>
> Try this code to clear out old sessions out of the database
>
> //clear out any old sessions
>
> $Query = "DELETE FROM client_results ";
> $Query .= "WHERE lastpostdate < (now()-3000)";
> $Deleted = mysql_query($Query, $mysql_link);
many thanks, I'll use your suggestion.
max