Added usersessions/delete function

ogs-cs@151
gareth 2007-03-02 23:26:36 +00:00
parent daf909409a
commit 51be488f4a
1 changed files with 4 additions and 0 deletions

View File

@ -77,5 +77,9 @@ switch($cmd) {
case 'exists':
echo $exists;
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;
}
?>