iis 7 - IIS7 is losing the authenticated user for cffileupload (CF10) -
on 1 of our intranet pages, i'm using cffileupload
upload multiple photos:
<cffileupload extensionfilter=".jpg,.jpeg,.png,.gif" url="/submissions/photo_gallery.cfm" onerror="errorissue" width="600" addbuttonlabel="browse..." maxuploadsize="100">
the url tag points same page process images:
<!--- define upload path ---> <cfset upload_path = "c:\websites\images\photo_gallery\"> <!--- upload files ---> <cffile action="upload" destination="#upload_path#" nameconflict="makeunique" result="uploaded_file">
in ie , chrome, works. in firefox, 401 error. appears related how browsers authenticate. ie , chrome use windows authentication while firefox prompts when entering site username/password. nothing shows in coldfusion logs, iis logs show (with ip x'd out):
2013-05-09 19:16:07 xxx.xxx.xxx.xxx post /submissions/photo_gallery.cfm cfid=5546&cftoken=75080018 80 - 172.28.30.99 shockwave+flash 401 2 5 0
the previous line in log loading page. can see, username showing in line (edited security):
2013-05-09 19:16:07 xxx.xxx.xxx.xxx /includes/js/shared.js - 80 domain\username xxx.xxx.xxx.xxx mozilla/5.0+(windows+nt+6.1;+wow64;+rv:20.0)+gecko/20100101+firefox/20.0 304 0 0 218
so, cffileupload seems losing username. however, session.urltoken in cffileupload url same in on page multiple file uploader (the calling page). so, you'd think authentication stick.
also, can work in firefox when go iis7 , enable anonymous authentication on jakarta virtual directory (and disable windows authentication on same). but, not usable solution.
can suggest solution?
have tried enabling "anonymous authentication" /submissions folder?
see here
Comments
Post a Comment