Added usersessions/delete function

adam
gareth 2007-03-02 23:26:36 +00:00
parent 0227f31cdd
commit 808fdcc915
1 changed files with 4 additions and 0 deletions

View File

@ -77,5 +77,9 @@ switch($cmd) {
case 'exists': case 'exists':
echo $exists; echo $exists;
break; break;
case 'delete':
$query = "UPDATE sessions SET session_active=0, session_end=NOW() WHERE agent_id='$agent_id' LIMIT 1";
$deleteresult = mysql_query($query);
break;
} }
?> ?>