RcBuilder@walla.com
call centre: 054-5614020

Asp.Net Session in ashx file

Posted by: RcBuilder  /   Category: BUGS / Generic Handlers / Interfaces / IRequiresSessionState / SOURCE CODE   /   No Comments
23
Sep
2014

Asp.Net Session in ashx file Problem Asp.Net Session is null in ashx file (generic handler) Solution You have to "implement" either IRequiresSessionState or IReadOnlySessionState, with former providing full access to session, and the latter providing read-only access. using System.Web.SessionState; USING using System.Web.SessionState; public class MyHandler : IHttpHandler, IRequiresSessionState{ var user =.

Read more
  • פיתוח מערכות
  • פתרונות טכנולוגים
  • קידום אתרים
  • בניית אתרים