Solved

form submit

Posted on 2014-10-10
3
206 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
  • 2
3 Comments
 
LVL 28

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 28

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

747 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now