ASP.NET Reusable Handlers and Session State -
can asp.net handler (.ashx) implements irequiressessionstate
reusable or persist relationship first session used?
yes, can reusable.
callers pass session state inside httpcontext
when invoke processrequest
method. method parameters available within scope of each method invocation, not across multiple invocations on different threads.
ultimately, depends on processrequest
implementation, unless unusual (like store session in member variable , use later during method call), each request use correct session though they're sharing handler instance.
Comments
Post a Comment