Solved

form submit

Posted on 2014-10-10
3
222 Views
Last Modified: 2014-10-13
I have a form which have n number of buttons. When The button is clicked its update the database and redisplay the page. For some reason the form is not being updated. However, the database reflect the change. When I dump the query I do not see it being updated if I refresh the page then it works. ALso the query is not cached
0
Comment
Question by:erikTsomik
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 29

Expert Comment

by:Pravin Asar
ID: 40374411
Just from the problem description you posted, it is not clear how the form is being refreshed.

I get, after form is posted --> data is updated.

Are you querying the data, after refresh to fill-up/render the form ?
0
 
LVL 29

Assisted Solution

by:Pravin Asar
Pravin Asar earned 250 total points
ID: 40374413
Just try to clear the cache after each load.

<cfheader name="Expires" value="#GetHttpTimeString(Now())#">
<cfheader name="Pragma" value="no-cache">
0
 
LVL 25

Accepted Solution

by:
dgrafx earned 250 total points
ID: 40377919
you probably need to send in a cache breaker in your url
for ex if your url is /somefolder/somefile.cfm?whatever=fictionalvalue then add &dummy=#CreateUUID()# to the url so it's /somefolder/somefile.cfm?whatever=fictionalvalue&dummy=#CreateUUID()#

if that doesn't work just post back your block of script that is being used to submit the form
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Problem to Popup 37 147
paging 3 49
Stupid git question 2 117
Coldfusion builder and IIS 2 23
This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

697 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question