I created a website with a php login form and admin form. The admin can log in and post the weekly work schedule using a form, then submits it. All the users can log in and view their work schedule. My problem is after roughly 12-24 hours later, the form data deletes. It submits properly and works just fine for almost an entire day, then all the data is gone.
Could this be a session or cookie problem?
04-05-2011, 12:42 AM
coldfire421
Do you store your data in your database?
04-05-2011, 01:56 PM
justbringit85
I use the database to store password and user names only, I use a POST to submit the table data to the schedule page. None of the schedules are kept, if I re-enter the schedule, it overwrites the current one.
One thing I tested was I entered the schedule data on my home computer and checked the next day and the schedule was still there, but when the schedule data is entered at the work computer, it goes away the next day. Maybe something wrong with work computer?