IsReuseable

  • Thread starter Thread starter gary
  • Start date Start date
G

gary

"Gets a value indicating whether another request can use the
IHttpHandler instance."

What does this mean in practice?

Thanks,

Gary
 
Hi,

it means that if it is set to true, same Http handler instance (Page class
is one example of HTTP handler) will be reused for multiple, non-concurrent,
requests.

So if you set it to true and HTTP handler uses some sort of state, you need
to be able to clear the state so that handler works similarly for all
requests. That can get hard.

Point with the property is to of course, provide mechanism to optimize
request processing.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top