D
darrel
I'm still not quite sure how best to handle the passing of data between
controls.
This is a method I'm using at the moment:
I have an XML file that contains a variety of page-centric variables. I have
one control that loads the XML file, reads through it, and grabs the
variables it needs. It then sets these to PUBLIC variables.
Then, other usercontrols simply request that variable.
This seems to work just fine, but I'm wondering if there's an issue with
this. Are publi variables shared across the application regardless of the
user, or are they confined to the specific usersession as well?
My concern is having two people accessing this simultaneously causing one
instance of the UC overwriting the public variables and having the other use
see them.
-Darrel
controls.
This is a method I'm using at the moment:
I have an XML file that contains a variety of page-centric variables. I have
one control that loads the XML file, reads through it, and grabs the
variables it needs. It then sets these to PUBLIC variables.
Then, other usercontrols simply request that variable.
This seems to work just fine, but I'm wondering if there's an issue with
this. Are publi variables shared across the application regardless of the
user, or are they confined to the specific usersession as well?
My concern is having two people accessing this simultaneously causing one
instance of the UC overwriting the public variables and having the other use
see them.
-Darrel