Caching is set to false...
On Wed, Apr 29, 2009 at 4:57 PM, Josh Nathanson <[email protected]>wrote: > > Rick - it could be that the data is caching in the browser so you're not > seeing the new values...did you set cache:false in your ajax request? > > -- Josh > > > > -----Original Message----- > From: Rick Faircloth [mailto:[email protected]] > Sent: Wednesday, April 29, 2009 1:14 PM > To: cf-talk > Subject: Is it not possible to set session variables in a cfc method? > > > I'm trying to create a "preview" setup via cf, jquery, and ajax for > a form. > > Before I get too deep into all this code, let me just ask this: > > Can I set session variables in the cfc method to the values of the > form variables and use those back on the calling page? I'm doing it > this way to prevent having to write the preview values to the database. > > I can cfdump the session and see that the session variables are > getting set to the proper values in the method, but when they > are sent back to the calling page (via a cfsavecontent method > to handle an image involved) and jquery displays them, the values > are not the current session values that were set back in the method. > > Anyone worked with this method? (I know Ben Nadel coded it and > I adapted it, but I can't figure out why this isn't working.) > > Thoughts? Suggestions? > > Thanks, > > Rick > > -- > > ---------------------------------------------------------------------------- > > ---------------------------------------------------------------------------- > --------- > "It has been my experience that most bad government is the result of too > much government." - Thomas Jefferson > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322070 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

