Re: How does Chat_OpenMessenger() know which user it is?

  •  06-13-2006, 9:14 PM

    Re: How does Chat_OpenMessenger() know which user it is?

    Sorry, so just that I understand.   If I already have the unique username specific to our website (i.e. through a cookie, query string, etc) I would just return that value like so?...
     
    public string GetUserUniqueName() 
      {
       if(Context.User.Identity.IsAuthenticated)
        return HttpContext.Current.Request.Cookies("username");
      }
     
     
    And that would tell the messenger which user loaded the messenger?
     
    Thanks in advance.
     
View Complete Thread