Re: Cannot use existing session for user integration

  •  11-29-2006, 1:11 PM

    Re: Cannot use existing session for user integration

    This is what happens when chat window opens. User ID is in session and i am displaying it in getUseruniquename method.







    CODE:
            public string GetUserUniqueName()
            {
                try
                {
                    Response.Write("<BR><BR>USER ID: " + Session["UserID"].ToString());
                    return Session["UserID"].ToString();
                }
                catch(Exception s)
                {
                    Response.Write("------Error Message: " + s.Message + "--------Stack trace: " + s.StackTrace);
                }
                return null;
            }
View Complete Thread