RE: [coldbox:18546] Flash RAM Question

Is the browser auto-filling the form fields when they hit back or are you populating the form fields from the rc?

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Brad,

My inputs look like this:

<input name="state" value="#event.getValue('state', '')#">

So, when I go back, if the variable is in RC, it would populate automatically.

Just an idea but could I do this:

In the “inflateFlash” of “/coldbox/system/web/flash/AbstractFlashScope.cfc”, could I not check for existence of the variable name in RC/PRC before the code below runs?

event.setValue(name=scopeKeys[x],value=thisKey.content);