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

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -