New input lost when session expires or No _CSRFToken exist

3 posts by 2 authors in: Forums > CMS Builder
Last Post: January 13, 2023   (RSS)

By gkornbluth - January 8, 2023 - edited: January 8, 2023

Hi All,

I first approached this topic back in 2020 but it seems to have fallen through the cracks.

I know it’s good practice to automatically expire login sessions after 30 minutes or so, and it’s also a good practice to save changes often.

But a number of times my clients (and I) have written text directly into a text box, or made other changes to a section, and have been so caught up in the moment, or distracted before saving our work, that our sessions have timed out, or we’re told that a "Security Error: No _CSRFToken exists in session. Try reloading or going back to previous page". After an attempt to comply, the information is lost forever and we have to go back to square 1.

So, my question is:

Is optional autosave  for the current open page a possibility?

Any other thoughts are welcome.

Thanks and stay safe,

Jerry Kornbluth

The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

Hi Dave,

That's Great News!

I have no idea what's possible, but I was thinking of an 'auto save' checkbox on the record that's being worked on that a non admin user could check,  If possible, the 'auto save' check box could be a special field that could optionally  be added to the section by the admin during design. 

And an option in the admin to set the auto save repitition rate (every 5 min, every 10 min, etc.) and possibly an 'always autosave' option for admins.

It would be nice if the auto save didn't bring the user back to the record list each 

It might be helpful if you asked the forum community for their input as well.

Best,

Jerry Kornbluth

The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php