aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authordiva2009-05-26 01:05:40 +0000
committerdiva2009-05-26 01:05:40 +0000
commit6ff01c774e2d4935964fbe6227785c89288c7eff (patch)
treee291c435060c235ba8552481a62917f5589d5ac2
parent* Fiddles with some login network code to attempt to fix login bug. (diff)
downloadopensim-SC_OLD-6ff01c774e2d4935964fbe6227785c89288c7eff.zip
opensim-SC_OLD-6ff01c774e2d4935964fbe6227785c89288c7eff.tar.gz
opensim-SC_OLD-6ff01c774e2d4935964fbe6227785c89288c7eff.tar.bz2
opensim-SC_OLD-6ff01c774e2d4935964fbe6227785c89288c7eff.tar.xz
Addresses mantis #3718.
-rw-r--r--OpenSim/Framework/Communications/Clients/AuthClient.cs11
1 files changed, 10 insertions, 1 deletions
diff --git a/OpenSim/Framework/Communications/Clients/AuthClient.cs b/OpenSim/Framework/Communications/Clients/AuthClient.cs
index 49ec7ba..5714395 100644
--- a/OpenSim/Framework/Communications/Clients/AuthClient.cs
+++ b/OpenSim/Framework/Communications/Clients/AuthClient.cs
@@ -124,7 +124,16 @@ namespace OpenSim.Framework.Communications.Clients
124 ArrayList SendParams = new ArrayList(); 124 ArrayList SendParams = new ArrayList();
125 SendParams.Add(requestData); 125 SendParams.Add(requestData);
126 XmlRpcRequest UserReq = new XmlRpcRequest("check_auth_session", SendParams); 126 XmlRpcRequest UserReq = new XmlRpcRequest("check_auth_session", SendParams);
127 XmlRpcResponse UserResp = UserReq.Send(authurl, 3000); 127 XmlRpcResponse UserResp = null;
128 try
129 {
130 UserResp = UserReq.Send(authurl, 3000);
131 }
132 catch (Exception e)
133 {
134 System.Console.WriteLine("[Session Auth]: VerifySession XmlRpc: " + e.Message);
135 return false;
136 }
128 137
129 Hashtable responseData = (Hashtable)UserResp.Value; 138 Hashtable responseData = (Hashtable)UserResp.Value;
130 if (responseData.ContainsKey("auth_session") && responseData["auth_session"].ToString() == "TRUE") 139 if (responseData.ContainsKey("auth_session") && responseData["auth_session"].ToString() == "TRUE")