diff options
Diffstat (limited to 'OpenGridServices/OpenGridServices.UserServer/UserManager.cs')
-rw-r--r-- | OpenGridServices/OpenGridServices.UserServer/UserManager.cs | 17 |
1 files changed, 15 insertions, 2 deletions
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 | |||
395 | // If user specified additional start, use that | 395 | // If user specified additional start, use that |
396 | if (requestData.ContainsKey("start")) | 396 | if (requestData.ContainsKey("start")) |
397 | { | 397 | { |
398 | string startLoc = (string)requestData["start"]; | 398 | string startLoc = ((string)requestData["start"]).Trim(); |
399 | if (!(startLoc == "last" || startLoc == "home")) | 399 | if (!(startLoc == "last" || startLoc == "home")) |
400 | { | 400 | { |
401 | // Ignore it! Heh. | 401 | // Format: uri:Ahern&162&213&34 |
402 | try | ||
403 | { | ||
404 | string[] parts = startLoc.Remove(0, 4).Split('&'); | ||
405 | string region = parts[0]; | ||
406 | |||
407 | //////////////////////////////////////////////////// | ||
408 | //SimProfile SimInfo = new SimProfile(); | ||
409 | //SimInfo = SimInfo.LoadFromGrid(theUser.currentAgent.currentHandle, _config.GridServerURL, _config.GridSendKey, _config.GridRecvKey); | ||
410 | } | ||
411 | catch (Exception e) | ||
412 | { | ||
413 | |||
414 | } | ||
402 | } | 415 | } |
403 | } | 416 | } |
404 | 417 | ||