Hi,
we use ASP.NET CKFinder, but multiple upload works in IE browsers only, because "FileUpload" request does not submit any cookies to the server. I searched through forums and found several described issues like this, but never a good solution. We have to authenticate the request and have to use session on back end, is there anything we can do to make multiple file uploader flash submit all the cookies?
I noticed that in non IE browsers CKFinder sends an extra "LoadCookies" request, but there is no documentation available for it. Currently we return XML formatted like this (I left only one cookie for example, but we list all user cookies):
<?xml version="1.0" encoding="utf-8"?><Connector><Cookies><Cookie name="ASP.NET_SessionId" value="2d3nrzysuynnzo4hvzh1v4nx" /></Cookies></Connector>
but it does not have any any effect, still getting the "HTTP Error: status code 302. I/O Error: Error #2038." error, because "FileUpload" request from CKFinder is not authenticated and thus being redirected to the login page.
Is there a good known fix available for this issue?
Thanks!
Ivan.
Tue, 01/10/2012 - 21:14
#1
Re: Cookies Related Issue in non IE Browsers
Hi,
which version of CKFinder do you use ? If not 2.1.1 please update to it.
There are problems with Flash and cookies sometimes , here is most advanced forum post about this :
http://cksource.com/forums/viewtopic.php?f=10&t=23616, please check if other solutions works for you. Please also check if without flashupload plugin your CKFinder works fine (no problems with cookies): here is described how to turn this plugin off: http://docs.cksource.com/ckfinder_2.x_api/symbols/CKFinder.config.html#.removePlugins. We are trying to find solution for this issue.
Re: Cookies Related Issue in non IE Browsers
Hi,
i can confirm the bug.
We have a Multi User CMS with the CKFInder and therefor need the Session to build the correct root path.
Unfortunately the Flash Upoader does not send a asp.net session cookie, and we have an empty Sesseion on the Server.
(edit: Removing Plugin is now working for me, i took the wrong config file )
and btw:
CKFinder.customConfig = function (config) {
config.removePlugins = 'help,basket,flashupload';
config.disableHelpButton = true;
};
does NOT disable the Flash Upload for me.