?
Solved

form submit

Posted on 2014-10-10
3
Medium Priority
?
230 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 1000 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 1000 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

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

This article covers the basics of the Sass, which is a CSS extension language. You will learn about variables, mixins, and nesting.
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Suggested Courses

777 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