private void PerformLogin() { xmlMenuData = WebSiteContext.GetInstance().FacadeRepository.GetUserFacade().GetMenuItems( Session[Constants.UserID].ToString()); //Saving the bit of menu XML to session Session["MainMenu"] = xmlMenuData; Session["Login"] = null; }