Note: This blog post is from 2012. Some content may be outdated--though not necessarily. Same with links and subsequent comments from myself or others. Corrections are welcome, in the comments. And I may revise the content as necessary.Someone raised a question on one of the Adobe forums saying that they kept getting kicked out of (logged off) the CF Admin in CF10.
Ultimately, he realized it was that when one of his colleagues logged into CF 10 Admin, he got logged out, and vice-versa. Certainly frustrating.
And yes, it's by design in CF10, as part of various security enhancements. The issue is that only one person can be logged in to a given account name in the CF Admin (by default, it's "admin"). There is a solution: create new logins for each person needing to access the Admin. I discuss this and much more below.
Update 1: Since I wrote this entry back in June '12, I did a video for Adobe about a year later where I walk through this in several minutes. You may want to check that out.
Update 2: Great news for those using CF11: CF11 addresses this problem with a new feature in the CF Admin. You may want to read ahead to understand the problem to appreciate the point of this solution. Anyway, see the Security > Administrator page and its option, "Allow Concurrent Login Sessions for Administrator Console". The docs say that it will be disabled by default, allowing multipel logings, unless you choose the "securee profile" option during installation or via the admin (the ability to change that in the Admin is another new feature of CF11), in which case concurrent access by a given account it will be disabled.
Where's is this change in CF10 documented?
It is documented, in a couple of places.
Her article notes with respect to changes about CFLOGIN, which the CF Admin uses under the covers:
Now you can have only one active session open for one user for a given application that uses the cflogin tag.
For example, you can now access the Administrator console one user at a time with a given set of UserIDs and passwords.
Now, you may think, "but that doesn't explain why another user and I can't use the CF Admin at the same time", but actually it does. Note that the login is not "per user" but "per account" using the CFLOGIN. And by default, there is one account used for logging into the CF Admin, called the Admin user. We normally don't even notice or use that, and only need to enter the password for that account.
So it's saying that "2 users of the same account can't be logged into the CF Admin at one time." I agree it's an annoyance, but I'm sure there's a worthy security problem for which it was the solution. Maybe someone from Adobe will chime in with more thoughts.
There's also a discussion related to "logins to the CF Admin" in the CF10 docs, in the "Developing Coldfusion 10 Applications" manual, though it's not worded as applying so obviously to this specific situation above. At the bottom of this page on Miscellaneous CF10 changes, it says:
You are logged out from one of the ColdFusion administrators, if:
From the same host, you log in to the ColdFusion (10) Administrator and the ColdFusion Administrator of an older version.
As I noted above, you can solve this problem by defining a new username for each person accessing the CF admin.
Many never noticed but CF8 added the ability (Security>User Manager) where you could define additional username/password combinations in the CF Admin (including limiting what parts they can access, including the Server monitor) and also for controlling RDS access.
I did a fairly extensive article on how to use this multiple CF Admin login feature, from 2009 in the Adobe Dev Center. At the time I wrote that (CF8 timeframe), the ability to add admin users was limited to CF Enterprise, but in CF 9 that was lifted and available also in Standard.
Hope that's helpful.
For more content like this:
Need more help with problems?
- Signup to get my blog posts by email:
- Follow my blog RSS feed
- View the rest of my blog posts
- View my blog posts on the Adobe CF portal
- If you may prefer direct help, rather than digging around here/elsewhere or via comments, I can help via my consulting services
- See that for more on how I can help a) over the web, safely and securely, b) usually very quickly, c) teaching you as we go, and d) with satisfaction guaranteed