Lost yet another submitted report due to browser caching
Posted: 05 Aug 2023, 17:09
Is there an update that addresses report submissions being lost after the session timed out (returned an "invalid security token" error page) of the form was missing a required data field entry?
This complaint is probably familiar but I'll detail it again anyway"
On our MantisBT installation, a failure webpage is loaded when a form submission fails to validate. (A required field may not have been completed. Or a session times out and an "invalid security token" failure is reported.) The page suggests correcting the problem with the form data after returning to the form.
But the form data is not cached and the 'back' results in a blank form. All that work composing a report is LOST!
I an old (and ugly) workaround for the "invalid security token" but not the 'required field' problem:
> You can disable session validation by adding the following line to file
>
>
This complaint is probably familiar but I'll detail it again anyway"
On our MantisBT installation, a failure webpage is loaded when a form submission fails to validate. (A required field may not have been completed. Or a session times out and an "invalid security token" failure is reported.) The page suggests correcting the problem with the form data after returning to the form.
Code: Select all
Please use the "Back" button in your web browser to return to the previous page
I an old (and ugly) workaround for the "invalid security token" but not the 'required field' problem:
> You can disable session validation by adding the following line to file
Code: Select all
config_inc.php
Code: Select all
Code: Select all
Code: Select all
$g_session_validation = OFF;