ASP.Net WebForms / C# How to access session variable in App_Code class file? - 05.12.19 | 22.12.19 - ErcanOPAK string MySessionValue = System.Web.HttpContext.Current.Session["YourSessionVariable"].ToString(); Related posts:Using Code Blocks, Mixing Text & C# Code and Comments in Asp.NET MVC RazorConfirm before process with ASPxButton in DevexpressHow to get output return value from SqlDataSource in WebFormsEasy way to join strings on complex classes Post Views: 99