-
Public Var
Hello,
I've made a mulit-user app. in asp.net wich is using about 250 public vars.
I discoverd that when i'm working alone everything works fine but when another persons is going to work with it at the same time the value of the vars. will be changed. Stupid, I know.
What's the best method to solve this problem? 250 session vars? :sick:, maybe cookies?
thnx
greetz Piet
-
Re: Public Var
Sounds to me like your architecture isn't that well designed.
Converting them to Session variables would solve the problem but to be honest I can't think of a single situation when you'd need that many.
What does your page do? - may be we can help you rework it.
DJ
-
Re: Public Var
Why do you have 250 variables floating around like that?! :ehh: