asp.net set session variable code example Example: c# storing value in session Session["ValueId"] = Value;