Useradapterinterface implemented, but

Last post 04-29-2005, 11:51 AM by cutechat. 1 replies.
Sort Posts: Previous Next
  •  04-28-2005, 2:33 PM 6258

    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
     
  •  04-29-2005, 11:51 AM 6305 in reply to 6258

    Re: Useradapterinterface implemented, but


     
    Regards , Terry .
View as RSS news feed in XML