| | |
stop page refreshing
Please support our ColdFusion advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Mar 2008
Posts: 4
Reputation:
Solved Threads: 0
thanks for your reply. yes with hindsight i should have separated the sql, but unfortunately i didn't think far enough ahead - i am quite new to this kind of thing, but you live and learn as they say...
(the results display when you first link to the page which contains the sql to insert data and then to display it - which was ok, until i refreshed the page and realised that this meant the sql would reinsert the data)
anyway, i am thinking now of testing somehow to see if the insert has been made, maybe using sql or making use of setting session variables - otherwise i'll have to go back and split the sql from the results i guess - 'guess' being the operative word - as i say i am quite new to all this!!
thanks again for your reply - it has at least confirmed what i new that my initial setup is not good!
(the results display when you first link to the page which contains the sql to insert data and then to display it - which was ok, until i refreshed the page and realised that this meant the sql would reinsert the data)
anyway, i am thinking now of testing somehow to see if the insert has been made, maybe using sql or making use of setting session variables - otherwise i'll have to go back and split the sql from the results i guess - 'guess' being the operative word - as i say i am quite new to all this!!
thanks again for your reply - it has at least confirmed what i new that my initial setup is not good!
![]() |
Similar Threads
- refresh page one time only.. (PHP)
- how to stop data insert while html page is refreshing (PHP)
- memory management in wndows 2000 (Windows NT / 2000 / XP)
- How to link towards a div tag? (JavaScript / DHTML / AJAX)
- 'Quick reply' and 'Go advanced' buttons no longer working on Opera.. (DaniWeb Community Feedback)
- How to stop the scroll position when webpage gets refreshed? (JavaScript / DHTML / AJAX)
Other Threads in the ColdFusion Forum
- Previous Thread: Date and Time
- Next Thread: session level variables
| Thread Tools | Search this Thread |





