How long typically should a connection remain in the pool after it has been closed? If I remember right I've read somewhere about 60 -90 seconds. But my connection is hanging on for about 8 minutes! My code is pretty simple, something like this:
cmd = cnn.createcommand;
cmd.commandtext = "select..";
da.fill(ds, "Table1");
cnn.close();
-- and I've tried
cnn.dispose();
I'm wanting to kill the connection within at least 60 seconds if it's not actively working. I don't care so much about the performance on the client side (they can wait an extra second here or there). I do want to keep the server from being bogged down with connections. In this situation it's not that important, but I do want to know how to immediately kill the connection if it was a mission critical type of operation. What am I missing here?
thanks,
Michael
cmd = cnn.createcommand;
cmd.commandtext = "select..";
da.fill(ds, "Table1");
cnn.close();
-- and I've tried
cnn.dispose();
I'm wanting to kill the connection within at least 60 seconds if it's not actively working. I don't care so much about the performance on the client side (they can wait an extra second here or there). I do want to keep the server from being bogged down with connections. In this situation it's not that important, but I do want to know how to immediately kill the connection if it was a mission critical type of operation. What am I missing here?
thanks,
Michael