User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 456,234 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,745 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 1963 | Replies: 0
Reply
Join Date: Oct 2007
Posts: 37
Reputation: drsmith is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
drsmith drsmith is offline Offline
Light Poster

Submitting data before auto-refresh

  #1  
Nov 15th, 2007
I have a .php page that writes data to a MySQL db when the user hits "submit". Anyway...to make sure the data on the .php is the latest in the db I would like to use an auto refresh javascript. I have a free one that works great but I would like the the script to "submit" the data to the db right before the refresh that way if someone is in the middle of typing they don't lose their data. Is this possible? We don't have a lot of users and the auto refresh will only be run every 3-5 min. I understand that there is always the possibility of data loss with multiple users reading/writing from/to the db.
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb JavaScript / DHTML / AJAX Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 5:08 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC