public static void SetAuthCookie(string username, string host, string useragent, string forwardedfor)
        {
            ClubDataService dataService = new ClubDataService();
            HttpCookie sessionCookie = HttpContext.Current.Request.Cookies["bb_sessionhash"];
            
            if (sessionCookie != null && dataService.IsExistingForumSession(sessionCookie.Value))
            {
                dataService.UpdateForumSession(username, sessionCookie.Value, 1);
            }
            else
            {
                string sessionhash = dataService.SaveForumSession(username, host, useragent, forwardedfor);

                if (!String.IsNullOrEmpty(sessionhash))
                {
                    sessionCookie = new HttpCookie("bb_sessionhash", sessionhash);
                    sessionCookie.Domain = ".ntxfc.com";
                    HttpContext.Current.Response.Cookies.Add(sessionCookie);
                }
            }
        }