diff options
Diffstat (limited to '')
-rw-r--r-- | ogs/gridserver/usersessions/index.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ogs/gridserver/usersessions/index.php b/ogs/gridserver/usersessions/index.php index 3c18932..e7a3817 100644 --- a/ogs/gridserver/usersessions/index.php +++ b/ogs/gridserver/usersessions/index.php | |||
@@ -77,5 +77,9 @@ switch($cmd) { | |||
77 | case 'exists': | 77 | case 'exists': |
78 | echo $exists; | 78 | echo $exists; |
79 | break; | 79 | break; |
80 | case 'delete': | ||
81 | $query = "UPDATE sessions SET session_active=0, session_end=NOW() WHERE agent_id='$agent_id' LIMIT 1"; | ||
82 | $deleteresult = mysql_query($query); | ||
83 | break; | ||
80 | } | 84 | } |
81 | ?> | 85 | ?> |