Link to home
Start Free TrialLog in
Avatar of Errol Farro
Errol FarroFlag for Aruba

asked on

How to determine if there is another .CFM already running

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 ?
ASKER CERTIFIED SOLUTION
Avatar of _agx_
_agx_
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Charlie Arehart
Charlie Arehart

FWIW, I'll concur that there is no programmatic way built into cf to determine what's already running, and that either of the two alternatives offered by agx that are just what I would also have offered. I can't think of any better solution.