Why don't ASP.Net handlers support session by default -


i understand in order asp.net handler support session state need implement both ihttphandler , irequiresessionstate, why isn't session state provided default? if performance reasons, wouldn't better have interface idoesnotrequiresessionstate?

its because session block asynchronous operations, , handle used long time operations, making , download of file - if keep session on long time operation block rest of pages.

also handle made idea of the minimum required response.

about session lock:
web app blocked while processing web app on sharing same session
jquery ajax calls web service seem synchronous
asp.net server not process pages asynchronously
replacing asp.net's session entirely


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -