I'm having some problems with submitting forms and the flash ram and
I'm wondering if I may be using it in a way that it's not intended to
be used.
1. Is the session flash ram intended for use only by only a relocation
(using setNextEvent()) or can it be used to store short term data
between any two requests in the same session (a setNextEvent(),
cflocation, a form submission, refreshing the page, etc)?
It works perfectly when using setNextEvent() but is giving me problems
preserving data when I submit a form.
2. The "AbstractFlashScope.cfc" has a "getScope" function that makes a
reference to "cbox_flash_temp_storage" in the request scope but that
value is not found anywhere else in the framework so the code below
will always return a new struct.
if( NOT structKeyExists(request,"cbox_flash_temp_storage") ){
request["cbox_flash_temp_storage"] = structnew();
}
return request["cbox_flash_temp_storage"];
What is "cbox_flash_temp_storage" used for? Are we supposed to set it
up ourselves in the request scope?
Thank you,
Gabriel
--
You received this message because you are subscribed to the Google Groups "ColdBox: A ColdFusion Framework" group.
To post to this group, send email to col...@googlegroups.com
To unsubscribe from this group, send email to coldbox-u...@googlegroups.com
For more options, visit this group at http://groups-beta.google.com/group/coldbox
For more information, visit http://www.luismajano.com/projects/coldbox
For Documentation, visit http://ortus.svnrepository.com/coldbox/trac.cgi
Make sure you are not reloading framework on every request.
Should be false
<Setting name="ConfigAutoReload" value="false"/>
Check your environment settings if there any.
Thanks
Sana