aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.Framework/UserProfileManager.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim.Framework/UserProfileManager.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/OpenSim.Framework/UserProfileManager.cs b/OpenSim.Framework/UserProfileManager.cs
index bf11910..7c4fb6f 100644
--- a/OpenSim.Framework/UserProfileManager.cs
+++ b/OpenSim.Framework/UserProfileManager.cs
@@ -48,6 +48,22 @@ namespace OpenSim.Framework.User
48 return ""; 48 return "";
49 } 49 }
50 50
51 public string RestDeleteUserSessionMethod( string request, string path, string param )
52 {
53 LLUUID sessionid = new LLUUID(param); // get usersessions/sessionid
54 foreach (libsecondlife.LLUUID UUID in UserProfiles.Keys)
55 {
56 if ( UserProfiles[UUID].CurrentSessionID == sessionid)
57 {
58 UserProfiles[UUID].CurrentSessionID = null;
59 UserProfiles[UUID].CurrentSecureSessionID = null;
60 UserProfiles[UUID].Circuits.Clear();
61 }
62 }
63
64 return "OK";
65 }
66
51 public XmlRpcResponse XmlRpcLoginMethod(XmlRpcRequest request) 67 public XmlRpcResponse XmlRpcLoginMethod(XmlRpcRequest request)
52 { 68 {
53 XmlRpcResponse response = new XmlRpcResponse(); 69 XmlRpcResponse response = new XmlRpcResponse();