I'm still pretty new to this stuff, but when I learned about sending data from my server app, I was told it's "Good house keeping" to flush my cache to the client to clear things that shouldn't be there with something like output.flush();
My question is: if there is something private that my client shouldn't get (like some other user's private data), doesn't this cause any security issues, since this way I'm showing one client data he shouldn't see?
if so, is there another way to do it securely?
Thanks!