I have two .CFM, a1.cfm and a2.cfm, that cannot run at the same time. While a1.cfm is running and someone wants to start a2.cfm, a2.cfm should get the message that a1.cfm is already active and that a2.cfm cannot start.
Conversely, while a2.cfm is running, a1.cfm cannot be invoked.
Is there a ColdFusion command which can very if there is a .CFM already running ?