I have a php form. It has only 10 or so fields, but can take an hour or two to fill in.
However, the php page times out after 20 or so minutes, meaning you can spend time entering data into the fields, but if you haven't clicked submit, the form processes, does NOT insert the data into my mySQL database, and returns a blank form, leaving the user to re-enter ALL the data.
I've tried setting the session.gc_maxlifetime
, javascript setInterval
and setTimeout
, and .htaccess
solutions, all to no avail.
After 20 or so minutes: blank form.
Php doesn't have forms. HTML does. HTML cannot "time out". It sounds like it's the session that is timing out if anything