CF-3839458
Title
User Login session not properly closed
Description
Maybe it has something to with this bug: ColdFusion 11.0 - Bug CF-3712083
Comment by External U.
10/15/2014 03:14:39 GMT
I have attached the sample login app that I am testing it on, if there are any changes to be done to that, do let us know. Could you also provide information about the server configuration,the environment your machine is setup on,the browser details(if problem occurs on only one particular browser or others as well) & log details if any.
Comment by S P.
11/06/2014 21:15:14 GMT
Just a note to report that I have also ran into this bug. My login code worked correctly with CF8, CF9 and CF10. This issue has only shown up since an upgrade to CF11.
Comment by External U.
03/11/2015 07:01:00 GMT
I too have this problem. I found a workaround here - http://stackoverflow.com/questions/28874726/coldfusion-user-login-fails-after-session-timeout Though ideally I think it's bug that should be fixed.
Comment by External U.
03/11/2015 09:09:17 GMT
Hi S Preethi, Another workaround is duplicate the <cflogin>/cflogin(). Example: <cflogin ..> <cflogin ..> When both have allowconcurrent=true (the default), then both will run. isUserLoggedIn() returns YES after the 1st, but the 1st login actually fails. The 2nd runs and logs in correctly. Repro attached as Application.cfc Thanks!, -Aaron
Comment by External U.
05/16/2015 22:06:32 GMT
Forgot to note: When THIS.loginStorage="cookie", then the issue does not reoccur if an old cfauthorization cookie is still present. Thanks!, -Aaron
Comment by External U.
05/16/2015 22:34:34 GMT
We sure would like to upgrade to CF11, but this is a showstopper for us. Any status on the progress of resolving this bug?
Comment by External U.
09/17/2015 11:32:57 GMT
Would those that have responded to this bug that they are having a problem with this issue, please provide the version of CF11 and Update Level they are currently using? Thank you.
Comment by External U.
10/02/2015 09:23:05 GMT
Here is another Adobe developer working with someone on the same unresolved issue: https://forums.adobe.com/thread/1546486
Comment by External U.
10/02/2015 18:44:30 GMT
My server has the latest patches and is on CF11. This problem did not occur prior to CF11. It was brought to my attention from another Adobe developer that you were not able to replicate this issue. I have attached an Application.cfc file (named ApplicationTestCFLogin.cfc) to differentiate from the other Application.cfc file that is already attached. The file that I uploaded has the bug that forces a second login. Interestingly, If the page is refreshed after the initial login, then a second login is not prompted. If #createUUID()# is attached to the name, then the login works properly. <cfloginuser name="#form.uName##createUUID()#" password="#form.pWord#" roles="">
Comment by External U.
10/03/2015 10:09:03 GMT
Hi Preethi, This ticket has been "ToTest/HaveNewInfo" for many months. For repro, please see the attached Application.cfc and my comment on 8:36:32 PM GMT+00:00 May 16, 2015. Thanks!, -Aaron
Comment by External U.
10/05/2015 01:12:03 GMT
Hi Aaron, This bug was marked for ToFix, after which it came back to me only a few days back to check if the issue was reproducible in another scenario as well. Since it is being reproducible changing the status back to ToFix. Thanks, Preethi
Comment by S P.
10/06/2015 02:32:15 GMT
Thanks very much, Preethi!, -Aaron
Comment by External U.
10/06/2015 02:38:10 GMT
The fix will be available in the next ColdFusion release. Thanks!
Comment by S P.
10/18/2015 23:32:31 GMT
Is that the next hotfix or the next full release?
Comment by External U.
10/19/2015 05:56:01 GMT
It would be available in the future update for ColdFusion 11. Thanks!
Comment by S P.
10/29/2015 01:23:10 GMT
Why does this Bug has the "Status: Fixed" ? We do have the same problem with <cflogin> in our production system (CF 11 with Update 6) ! Looking at the article "ColdFusion 11 Update 7 is available for early access" ( http://blogs.coldfusion.com/post.cfm/coldfusion-11-update-7-is-available-for-early-access ) and reading the fixed issues ( https://cfdownload.adobe.com/pub/adobe/coldfusion/PR/11/documentation/update7/IssuesFixed_ColdFusion11_Update7.pdf ) you can seen, that this bug is not fixed in the coming update 7 yet. That's really not good.
Comment by External U.
11/16/2015 06:36:07 GMT
I agree with Knut. Our developers have waited patiently for this release so that we can upgrade our servers to CF11. When will this fix be released? Thank you.
Comment by External U.
11/16/2015 10:03:22 GMT
Was this bug fixed in this last hotfix just released because it didn't fix the problem on our test CF11 server? Please let us know the status as this is holding us up to moving to CF11 or future upgrades.
Comment by External U.
11/18/2015 10:15:18 GMT
We now have to start paying for fixes to the broken CF tags The latest from Adobe: CF12 is not yet out. If you need a hotfix beforehand, then we would need a Support contract for ColdFusion.
Comment by External U.
11/19/2015 13:05:30 GMT
Hi Preethi, Is the following still true? "It would be available in the future update for ColdFusion 11." Thanks!, -Aaron
Comment by External U.
11/19/2015 16:00:11 GMT
Last night we've updated our production server to "ColdFusion 11 Update 7" and did some testing. RESULT: The newest "ColdFusion 11 Update 7" still does not fix the <cflogin> problem on our server. Users are still forced to update twice after a session has timeouted.
Comment by External U.
11/20/2015 01:13:28 GMT
I would like everyone to note the date this was originally reported to Adobe: Created on Wednesday, October 15, 2014 ! That's over a year ago.
Comment by External U.
11/20/2015 07:49:11 GMT
Hi, The fix for the above would be out in the next update release of ColdFusion11. Also, if you require the fix ASAP do contact cfinstall@adobe.com. Thanks!
Comment by S P.
11/23/2015 22:40:38 GMT
Hi Preethi, Thank you very much for confirming! -Aaron
Comment by External U.
11/24/2015 05:22:00 GMT
Thank you, Preethi and Kishore, for making this happen with CF11 and not CF12 as I was told.
Comment by External U.
11/24/2015 08:48:45 GMT
I'm not certain this is working correctly in Chrome. It fixed it in IE, but not Chrome.
Comment by External U.
02/03/2016 10:12:57 GMT
I still notice even with the hot-fix applied that the following error is still logged: An error occurred while fetching element from authcache.
Comment by External U.
02/24/2016 03:17:49 GMT
Is this not fixed until Upgrade 8? If so, it won't work in Upgrade 7.
Comment by External U.
02/25/2016 11:35:28 GMT
Hi Toby, Is the hotfix that you have applied Update 7? Because in that case it would not work, as the fix would be available in Update 8 of ColdFusion 11. Thanks, Preethi
Comment by S P.
02/26/2016 00:04:46 GMT
I installed the hot fix (hf1100-CF-3839458.jar) that Vikram sent to me that I requested by emailing cfinstal@...
Comment by External U.
02/26/2016 01:48:05 GMT
Hi Toby, I have verified the scenario with the provided patch(hf1100-CF-3839458.jar), and with this it does not throw the exception"An error occurred while fetching element from authcache". I have tried it with the 'cfcs' that have been attached in the bug as well as the below attached application that I have used. Can you try clearing the cookies and then run your application to see if it still throws the exception. Also if still are facing the issue, can you share your repro code so that we can verify the same form our end. Thanks, Preethi
Comment by S P.
03/01/2016 00:13:37 GMT
Hi Preethi, Using my Application.cfc (attached to this ticket), I see: 1) hf1100-CF-3839458.jar patch fixes CF-3839458 (good) 2) "An error occurred while fetching element from authcache" is no longer thrown, when running my repro (good) However, the CF Admin still logs "An error occurred while fetching element from authcache" if CF Admin session expired. Repro: 1) Login to CF Admin 2) Wait a while for CF Admin's session to timeout 3) F5 the CF Admin 4) See "An error occurred while fetching element from authcache" was logged to security.log Thanks!, -Aaron
Comment by External U.
03/10/2016 16:16:11 GMT
Hi Aaron, We have logged a separate bug #CF-4131007 for the CF Administrator session timeout issue . Thanks, Pavan.
Comment by S V.
03/22/2016 03:52:26 GMT
Hi Pavan, Thanks very much! -Aaron
Comment by External U.
03/26/2016 20:53:01 GMT
Verified this is fixed in CF2016 Final (build 2016.0.0.297996). Thanks!, -Aaron
Comment by External U.
10/29/2016 13:38:09 GMT
Has a hot fix been released for cflogin for CF11 Update 10? If not, this issue should not be set to Closed and Fixed. Is hf1100-CF-3839458.jar patch still available?
Comment by External U.
11/22/2016 13:07:32 GMT
Status:
Closed
Details
Date Created:
10/15/2014
Component:
Security
Version:
Beta
Failure Type
Non Functioning
Found In Build:
CF11_Final
Fixed In Build:
Priority:
Critical
Frequency:
All users will encounter
System:
Win 2012 Server x64
Browser:
Resolution
Fixed
Reason Code:
Votes:
11
Vote Comments:
Users are still seeing this issue. See another post about it here - http://stackoverflow.com/q/28874726/1636917
Comment by External U.
03/11/2015 06:52:08 GMT
This bug will impact every user and could be quite frustrating to our user base!
Comment by External U.
03/11/2015 07:01:47 GMT
+1 - I'm seeing the exact same issue. Was going to file a ticket until I saw this was already filed.
Comment by External U.
03/24/2015 17:22:13 GMT
Am experiencing the same problem with two large corporate clients after move from CF10 Ent to CF11 Ent
Comment by External U.
03/30/2015 01:36:22 GMT
Same problem. One Solution is allowconcurrent="false" but it's not for everyone usefull :(
Comment by External U.
05/15/2015 13:35:14 GMT
it's happening on a production server
Comment by External U.
05/24/2015 21:50:25 GMT
......................................
Comment by External U.
05/25/2015 05:34:03 GMT
We are experiencing the same problem while upgrading from CF 9 to CF 11. Adding two <cflogin> tags helps in most of our web applications, but it's slower and doesn't work in all cases. Please fix this bug as soon as possible!
Comment by External U.
06/04/2015 14:38:38 GMT
Very very annoying, happen also with the CF admin application
Comment by External U.
08/10/2015 04:34:05 GMT
Please work with the developers on reproducing this bug.
Comment by External U.
10/02/2015 18:45:05 GMT
Over a year has passed since the bug was reported and really nothing happened. It's really time to fix the bug...
Comment by External U.
11/21/2015 18:34:16 GMT