Useradapterinterface implemented, but

  •  04-28-2005, 2:33 PM

    Useradapterinterface implemented, but

    When I call a page, where all the chatrooms are listed, the HttpContext is set and working, but trying to enter a chatroom, the context is not set (=null)
     
    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

    Source Error:

    Line 22: public override string GetUserUniqueName(System.Web.HttpContext context) Line 23: { Line 24: User user = (User) context.Session["CurrentUser"]; Line 25: return user._nick; Line 26: }

    Why is the context=null the 2. time this method is called? Do you have any idea or are you working on a fix?

    Brgds
     
View Complete Thread