T
Tina
I would like to know the preferred way in which to define, store, and
retrieve global varialbes in asp.net applications. I have read through past
threads here and have seen mixed advice. Some say to define them in
global.asax but I can't seem to reference them. Others say that they must
be defined in the session_start and that they cannot be simply defined in
global.asax. Yet others say just put them in any class anywhere and
reference them.
It seems the right answer would be defining them as session variables but I
can't seem to reference them with session.myvariable
Thanks,
T
retrieve global varialbes in asp.net applications. I have read through past
threads here and have seen mixed advice. Some say to define them in
global.asax but I can't seem to reference them. Others say that they must
be defined in the session_start and that they cannot be simply defined in
global.asax. Yet others say just put them in any class anywhere and
reference them.
It seems the right answer would be defining them as session variables but I
can't seem to reference them with session.myvariable
Thanks,
T