Race Conditions
By pressing the button below, two requests will be sent to set a session variable.
The first will try to set the variable to
value1
and will have a delay of 10 seconds.
The second will try to set the value to
value2
and will have no delay.
At the end of the calls, we will see what the session variable actually is.
value2
is the expected value as that was the last one to be set.
Activity
Time Elapsed: