Are instances of ASPX pages EVER reused ??

  • Thread starter Thread starter Steve M
  • Start date Start date
S

Steve M

I think I have read conflicting information about this. Can someone share
some knwledge about this?
Is a new instance of my ASPX page class created for each request?? Or are
can they be reused by the framework based on a threading setting somewhere?
It is important for me to know this--Is there a guarantee that each request
has a fresh instance?
Thanks in advance for any info.
 
No, the instances of the ASPX pages are not reused.

What is reused is the JIT-compiled code of the class representing the ASPX
file and its optional CodeBehind, if no modification has been made to
either.
 
Back
Top