Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 03/24/2012
Components: AJAX, UI Components
Versions: 10.0
Failure Type:
Found In Build/Fixed In Build: Public Beta / 283287
Priority/Frequency: Major / Some users will encounter
Locale/System: English / Win All
Vote Count: 2
In CF901, the cffileupload action page maintains session. In CF10 it doesn’t.
(code below)
Steps:
1) Upload a file
2) Refresh/F5
3) Compare "sessionid" in the SESSION and APPLICATION scope dumps.
Same issue regardless of "Use J2EE session variables" setting.
Also note SESSION.mySessionVar doesn't exist on the action page (APPLICATION.uploadInfo contains a duplicate of the action page's SESSION scope).
----------------------
Application.cfc:
----------------------
component {THIS.name="Testcffileuploadsession"; THIS.sessionManagement=true;}
----------------------
index.cfm
----------------------
<cfif structKeyExists(FORM, "filename")>
<cffile action="uploadall" destination="#expandPath('.')#" nameconflict="overwrite">
<cfset APPLICATION.uploadInfo = {url=duplicate(URL), session=duplicate(SESSION)} />
</cfif>
<cfset SESSION.mySessionVar = "my_session_var_value" />
<cffileupload />
<cfdump var="#SESSION#" />
<cfdump var="#APPLICATION#" />
----------------------
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3148178
Keywords:
FixTested
External Customer Info:
External Company:
External Customer Name: itisdesign
External Customer Email:
Attachments:
Comments: