I want to update a Session variable when it is blank or null. I am using the below statement. But it is updated every time on page load. Does not matter if the IsPostBack is True or False. Any idea what is wrong here? Thank you in advance.
if (Session["OrgId"] == "" || Session["OrgId"] == "NULL")
Session["OrgId"] = drpId.SelectedValue;