asp.net session empty cehck

Code Example - asp.net session empty cehck

                
                        if (!string.IsNullOrEmpty(Session["emp_num"].ToString()))
                {
                    //The code
                }