Hi. Im currently working with two DB's in mongo, login database and other databases. However, my Railo setting ties to only one application.cfc. From the geting started example, I got to know we only create one instance of mongoclient in application.cfc. Now switching database will mean running configure environment on each request, right (since it provides hook to change DBname)? If yes, will this cause issues when two simutaneous requests config diff database pointed to, resulting in wrong operations ran on wrong database? Else, is there another way to switch database?
Also, on another note, I was observing the # of connections made to mongo from console. instantiating mongoclient creates 2 connections. when close() only one connection killed, leaving the other out... is this normal? It ends up accumulating connections on every applicationend