Closed (fixed)
Project:
Webform
Version:
6.x-2.7
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Nov 2009 at 10:12 UTC
Updated:
21 Dec 2009 at 07:37 UTC
We have some quite long multi-page webforms on a website which are being used for surveys. We have received reports from some users of being "booted out" of the form process mid-way through, and thus losing data as a result.
Is there any setting in the webform module or Drupal that might be causing this to happen? A form expiry token or form lifetime for example? And if so, any suggestions as to how it can be altered?
Thanks
Comments
Comment #1
quicksketchThe only restriction that I know of is that the Drupal FAPI cache expires in 6 hours if it has not been updated. That means that if a user leaves open a form half-way through on a single page for 6 hours, then when they click "next" the cache will have probably been cleared and they will be unable to continue. Also important to note if you click the "Clear all caches" button at admin/settings/performance or clear the caches through Admin menu, this will also kick out any users that are completing multipage forms.
Comment #2
leo pitt commentedHi quicksketch, thanks for the reply.
I don't think the issue would be caused by the FAPI cache, as 6 hours should be plenty of time (http://api.drupal.org/api/function/form_set_cache/6).
It is possible that the cache has been cleared out at some point while debugging, without realising the consequences.
Due to not having detailed information about the fault I cannot say which one, but that's a useful heads-up.
Comment #3
quicksketch