←back to thread

475 points danielstocks | 1 comments | | HN request time: 0s | source
Show context
AtNightWeCode ◴[] No.27301565[source]
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.
replies(1): >>27301584 #
corroclaro ◴[] No.27301584[source]
How do you envision the static variables thing? I've seen the cache thing myself in real life but not the other.
replies(3): >>27301613 #>>27301704 #>>27302207 #
1. adflux ◴[] No.27301613[source]
Store 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?