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;
}