4 ms·
Will be interesting to see what the problem is here. From what I have seen in real life my top guesses are. Some dependency on static variables in code. Reverse
by AtNightWeCode 5y ago
Will be interesting to see what the problem is here. From what I have seen in real life my top guesses are. Some dependency on static variables in code. Reversed proxy with incorrect cache rules that ignores headers or some parameter.
- corroclaro 5y agoHow do you envision the static variables thing? I've seen the cache thing myself in real life but not the other.
- adflux 5y agoStore user in static variable during processing data, then forget to clear the variable when you are done, so for the next request it still has access to the old data?
- AtNightWeCode 5y agoIn C# for instance. If you mark a field static it is the same for all instances of a class (if you don't mark the code as thread static). So if you have static User field that changes on logon it will change for everyone. I have seen this but typically more complicated versions of it.
- chopin 5y agoThese can act like a cache across all instances. For exactly this reason I use them only as final (constant) variables and very, very rarely mutable.