aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorgareth2007-03-02 23:26:36 +0000
committergareth2007-03-02 23:26:36 +0000
commit808fdcc915d983ba9a16409bb634687668651c44 (patch)
tree07b3266de627e1a6117f7f09a2b2093951a8531b
parentImplemented logouts (so you can logout and then return later! woohoo) (diff)
downloadopensim-SC_OLD-808fdcc915d983ba9a16409bb634687668651c44.zip
opensim-SC_OLD-808fdcc915d983ba9a16409bb634687668651c44.tar.gz
opensim-SC_OLD-808fdcc915d983ba9a16409bb634687668651c44.tar.bz2
opensim-SC_OLD-808fdcc915d983ba9a16409bb634687668651c44.tar.xz
Added usersessions/delete function
-rw-r--r--ogs/gridserver/usersessions/index.php4
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?>