A
Alvin Bruney
I wasn't expecting this behavior from a static variable. A thread wrapped by
a class has a couple static variables in a webform. When the thread runs and
the browser closes, the static variable is still hanging around. I was under
the mistaken impression that static was tied to the session, that it would
go away once the browser closes. It seems to be tied to the application
object instead.
Re-launching the application retrieved the last saved value for the previous
session. I wasn't expecting that. I wonder if I log in with a different
username, will I get that static value from the last session? If so I need
to be worried about synch issues then with multi-users.
Anybody?
a class has a couple static variables in a webform. When the thread runs and
the browser closes, the static variable is still hanging around. I was under
the mistaken impression that static was tied to the session, that it would
go away once the browser closes. It seems to be tied to the application
object instead.
Re-launching the application retrieved the last saved value for the previous
session. I wasn't expecting that. I wonder if I log in with a different
username, will I get that static value from the last session? If so I need
to be worried about synch issues then with multi-users.
Anybody?