title: User not logged in when WWW. is on URL
body: <p>If I visit my site with out the www. prefix, login and then add the www., my user is not logged in any more, but if I remove the www., the user is logged in. It acts the same way if I do the Opposite. go to the web site with the www., login, and then remove the www. the user will not be logged in.</p>
  
  <p>Here is the Login method and the authentication at the web.config.</p>
  
  <pre><code>public static void LogIn(userId)
  {
     Item user = Framework.Business.Item.Load(userId);
  
     var _ticket = new FormsAuthenticationTicket(1, _usrItm.ID, DateTime.Now, DateTime.Now.AddDays(30), true, _usrItm.ID);
  
     string encTicket = FormsAuthentication.Encrypt(_ticket);
     HttpContext.Current.Response.Cookies.Add(new HttpCookie(FormsAuthentication.FormsCookieName, encTicket));
  
  }
  
  &lt;authentication mode="Forms"&gt;
              &lt;forms name="k_Authentication" protection="All" timeout="120" cookieless="UseCookies" loginUrl="default.aspx" path="/" defaultUrl="/myweb.aspx"/&gt;     
  &lt;/authentication&gt;
  </code></pre>