From b0de1b93f9ddc7a111d72ea03eae32ff486089a1 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Wed, 30 May 2007 02:36:48 +0000 Subject: * Added reconnect support for MySQL Data interfaces if they time out. (Grid/User modes only now, Log todo) * Begun writing support for supporting the "Start" region login parameter. --- .../OpenGridServices.UserServer/UserManager.cs | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'OpenGridServices/OpenGridServices.UserServer') diff --git a/OpenGridServices/OpenGridServices.UserServer/UserManager.cs b/OpenGridServices/OpenGridServices.UserServer/UserManager.cs index cd80621..21ecc50 100644 --- a/OpenGridServices/OpenGridServices.UserServer/UserManager.cs +++ b/OpenGridServices/OpenGridServices.UserServer/UserManager.cs @@ -395,10 +395,23 @@ namespace OpenGridServices.UserServer // If user specified additional start, use that if (requestData.ContainsKey("start")) { - string startLoc = (string)requestData["start"]; + string startLoc = ((string)requestData["start"]).Trim(); if (!(startLoc == "last" || startLoc == "home")) { - // Ignore it! Heh. + // Format: uri:Ahern&162&213&34 + try + { + string[] parts = startLoc.Remove(0, 4).Split('&'); + string region = parts[0]; + + //////////////////////////////////////////////////// + //SimProfile SimInfo = new SimProfile(); + //SimInfo = SimInfo.LoadFromGrid(theUser.currentAgent.currentHandle, _config.GridServerURL, _config.GridSendKey, _config.GridRecvKey); + } + catch (Exception e) + { + + } } } -- cgit v1.1