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

  •  06-10-2006, 11:58 AM

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

    Jon.Lee :
     
    The messenger use the UserAdapter to get the information of current user .
     
    Please check the global.asax code , for example , the code :
     
      public string GetUserUniqueName() 
      {
       if(Context.User.Identity.IsAuthenticated)
        return Context.User.Identity.Name;
       return null;
      }
     
    As you mention that , you find "null" user in the database ?
     
    maybe you make wrong in this file . do not return string ["null"] , return [null] instead.
     
    Regards , Terry .
View Complete Thread