In one of my apps, I maintain a connection to a JMS topic. I have noticed that when I refresh the page, the app creates another connection to the topic but does not close the first connection. Multiple refreshes creating additional connections, until the server's maximum is reached. How is this problem typically avoided?
Thanks in advance, Steve