Kayıtlar

Kasım 1, 2011 tarihine ait yayınlar gösteriliyor

Generic handler dosyasında session değerini kullanmak isterseniz

using System.Web.SessionState; public class MyHandler: IHttpHandler,IRequiresSessionState { public void ProcessRequest (HttpContext context) { context.Response.ContentType = "text/plain"; string sessionValue = Convert.ToString(HttpContext.Current.Session["LoginUser"]); } }