Thursday, 25 May 2017

NodeJs and Express responses mixing up

I have a page in a tabular form where I have a controller defined for one row and based on the column value I set some variables inside my controllers appropriately.

But when I try to initiate multiple requests to the same controller in different columns immediately one after the other, the responses sent from the node server is getting mixed up. The response that should actually to column 1 is messing up with column 3 and so on(same columns share the same controller except some variable values being set). Is there a way I can ensure that my responses are safe and don't intermingle with each other?



via Nagireddy Hanisha

No comments:

Post a Comment