Re: Server To Busy after some time

  •  05-20-2005, 9:23 AM

    Re: Server To Busy after some time

    Hi Terry

    The web garden count is set to 1, I can't use my system at this moment with many web gardens.

    I'm not sure if I can set the chat into a standalone process, because I need the session from the other process to log the user into the chat but I will try it.

    I implemented the DataProviders to log in the users. It's a simple implementation

      public class CuteChatUserProvider : CuteSoft.Chat.UserAdapter {

            public override string GetUserUniqueName(System.Web.HttpContext Context)
            {
                if (Context.Session == null) return null;

                UserIdentity ui;
                if (Context.Session["UserIdentity"] == null) {
                    ui = new UserIdentity();
                } else {
                    ui = (UserIdentity) Context.Session["UserIdentity"];
                }
                return (ui.Principal.Role == Role.Guest) ? null : ui.Username;
            }

        }

    This is the only method that does something, most of the other methods return strings or bool

    Ingi

View Complete Thread