Solved

form submit

Posted on 2014-10-10
3
213 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

911 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

21 Experts available now in Live!

Get 1:1 Help Now