aspx_professional thread: Static variable in Page scope - is it referenced by all instances of that page ?
funny thing u ask this I found that a static variable is indeed viable
for the whole page... I couldn't figure out why my arrays weren't
containing data after the first postback... then i dawned on me that non-
static variables were being cleared in the postback process..
Morgan
> Hi,
> Is a static variable/Object declared in an asp.net page scope, mutual
to
a> ll instances of that page ?
f> or example, if i declare a simple object i have written as static one,
in
t> he page scope - will this object be refferenced by all of the
instances
o> f this asp.net page ?
> Thanks
> DD