Difference between revisions of "Template:Flash Upload Problem"

This website contains links to software which is either no longer maintained or will be supported only until the end of 2019 (CKFinder 2). For the latest documentation about current CKSource projects, including software like CKEditor 4/CKEditor 5, CKFinder 3, Cloud Services, Letters, Accessibility Checker, please visit the new documentation website.

If you look for an information about very old versions of CKEditor, FCKeditor and CKFinder check also the CKEditor forum, which was closed in 2015. If not, please head to StackOverflow for support.

(Created page with 'As of CKFinder 2.1 we have introduced new Flash component for multiple file upload. It is working great except in one situation. When, in CKFinder, you use your own authenticatio…')
 
(Text proof-reading)
Line 1: Line 1:
As of CKFinder 2.1 we have introduced new Flash component for multiple file upload. It is working great except in one situation. When, in CKFinder, you use your own authentication method (you have overridden <code>checkAuthentication()</code> method), based on some variable placed in a session scope, you might see the following error, in browsers other than IE, while trying to upload images:  ''"The file browser is disabled for security reasons. Please contact your system administrator and check the CKFinder configuration file"''.
+
As of CKFinder 2.1 we have introduced a new Flash component for multiple file upload. It is working great except in one situation. When you use your own authentication method in CKFinder (you have overridden the <code>checkAuthentication()</code> method), based on a variable placed in the session scope, in browsers other than Internet Explorer you might see the following error while trying to upload images:  ''"The file browser is disabled for security reasons. Please contact your system administrator and check the CKFinder configuration file"''.
  
[[Image: CKFinder_Java_Flash_upload.png|frame|center|CKFinder Flash Upload Problem]]
+
[[Image:CKFinder_Java_Flash_upload.png|frame|center|CKFinder Flash Upload Problem]]
  
  
This is happening because of some old Flash "cookie bug". If you are interested in seeing reports on this issue you can follow the below links  (login is required):
+
This is happening because of an old Flash "cookie bug". If you are interested in seeing reports on this issue you can follow the links below (login is required):
 
* http://bugs.adobe.com/jira/browse/FP-1044
 
* http://bugs.adobe.com/jira/browse/FP-1044
 
* https://bugs.adobe.com/jira/browse/FP-201
 
* https://bugs.adobe.com/jira/browse/FP-201
 
* http://bugs.adobe.com/jira/browse/FP-78
 
* http://bugs.adobe.com/jira/browse/FP-78
  
Now to give you some basic view on the problem. As you probably know browser has cookie space which is used to store cookies which are used to communicate with server. When Flash component (embedded in to web page) is being initialized it creates it’s own separate cookie space in non-IE browsers from which unfortunately wrong or no cookies are sent.  
+
To sum up the problem: as you probably know, the browser has a cookie space which is designed to store cookies that are used for the communication with the server. When the Flash component (embedded in the Web page) is being initialized, it creates its own separate cookie space in non-IE browsers from which unfortunately wrong or no cookies are sent.  
If the correct cookies are not sent, than, as you already know, sessions and cookie based authentication will not work.
+
If correct cookies are not sent, sessions and cookie-based authentication will not work.

Revision as of 10:38, 28 November 2011

As of CKFinder 2.1 we have introduced a new Flash component for multiple file upload. It is working great except in one situation. When you use your own authentication method in CKFinder (you have overridden the checkAuthentication() method), based on a variable placed in the session scope, in browsers other than Internet Explorer you might see the following error while trying to upload images: "The file browser is disabled for security reasons. Please contact your system administrator and check the CKFinder configuration file".

CKFinder Flash Upload Problem


This is happening because of an old Flash "cookie bug". If you are interested in seeing reports on this issue you can follow the links below (login is required):

To sum up the problem: as you probably know, the browser has a cookie space which is designed to store cookies that are used for the communication with the server. When the Flash component (embedded in the Web page) is being initialized, it creates its own separate cookie space in non-IE browsers from which unfortunately wrong or no cookies are sent. If correct cookies are not sent, sessions and cookie-based authentication will not work.