This content has been marked as final. Show 7 replies
> I can't but I wanted to hear from the experts :-)
memory on the server or vice a versa.
If you want the client to communicate anything to the server it must use
some type of communication with it. The normal would be a HTTP request
Any short example of code structure I should follow?
> Thanks Ian!
> Any short example of code structure I should follow?
<form id="getRequestExample" action="thisPage.cfm" method="get">
<input type="hidden" name="placeMeInApplicationScope" value="foobar">
<cfset application.something = url.placeMeInapplicationScope>
If you want more, we would need to know more about what you want to do.
I only to change a a value from application.valSetter = 1 to application.valSetter = 0.
I want to accomplish that on the submit event. I just want to determine if the user had already submitted that page in the last hour. Some values in the local scope disappear once the page is submitted.
Actually, all local variables disappear once a page has been submitted. Also, what do you want to do if another user had submitted that page in the last hour? What about if the user had submitted another page in the last hour?
The gist of all this is that application variables might not be the best way to accomplish your goal.
Dan, you just made a good point!
I better start thinking about some solutions :-)
Thanks Dan and Ian!