private void SetCookie(string cookieValue)
{
var endOfCookieVal = cookieValue.IndexOf(';');
if (endOfCookieVal > 0)
{
cookieValue = cookieValue.Substring(0, endOfCookieVal);
}
PSDebug.Log("Set cookie: {0}", cookieValue);
_sessionCookie = cookieValue;
}