# Auto-save option for emails and landing pages

**URL:** <https://forum.mautic.org/t/auto-save-option-for-emails-and-landing-pages/23035>\
**Category:** Ideas and Feature Requests\
**Created:** [March 14, 2022, 10:11am UTC](https://forum.mautic.org/t/auto-save-option-for-emails-and-landing-pages/23035 "2022-03-14T10:11:28Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![theresefub](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/theresefub/32/6259_2.png) [@theresefub](https://forum.mautic.org/u/theresefub)\
**Post date:** [March 14, 2022, 10:11am UTC](https://forum.mautic.org/t/auto-save-option-for-emails-and-landing-pages/23035/1 "2022-03-14T10:11:28Z")

</div>

**My idea is** : To have an option of auto-saving when creating emails and landing pages (instead of having to exit the builder and click “Save”)

**I think these groups of people would benefit from this idea** : The general user who’s creating a lot of bigger emails and landing pages.

**Why I think they would benefit from this idea:** So they don’t lose their work (I’ve had clients losing work because they forget to save and something happens or they get logged out)

**Any code or resources to support this idea:** Nope, unfortunately not. I’m not a dev.

**Are you willing to work on this idea?:** Don’t have the skills, unfortunately.

**What skills and resources do you need to explore this further?** : A dev, don’t know more than that 🙂

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [March 15, 2022, 3:43pm UTC](https://forum.mautic.org/t/auto-save-option-for-emails-and-landing-pages/23035/2 "2022-03-15T15:43:37Z")

</div>

Hi, your problem is connected with short session times. If you make it longer, the autosave wont be needed so much.

---

<div class="post-metadata">

**Author:** ![pierre\_a](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/pierre_a/32/7031_2.png) [@pierre\_a](https://forum.mautic.org/u/pierre_a)\
**Post date:** [March 15, 2022, 5:22pm UTC](https://forum.mautic.org/t/auto-save-option-for-emails-and-landing-pages/23035/3 "2022-03-15T17:22:00Z")

</div>

Hello @joeyk, sessions in Mautic are by default limited to 15 minutes in my personal experience.

Do you have a setting to allow longer sessions?

Pierre

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [March 16, 2022, 10:35am UTC](https://forum.mautic.org/t/auto-save-option-for-emails-and-landing-pages/23035/4 "2022-03-16T10:35:21Z")

</div>

Sure, we discussed it in the forum previously.  
Ugly but works.

> [@CSRF token error. Try to refresh the page and try again](https://forum.mautic.org/t/csrf-token-error-try-to-refresh-the-page-and-try-again/16839/9):
>
> Second this, it has haunted my for years with multiple Mautics, different browsers, diff local machines, diff server set ups but the CSRF token issue just follows me around.

---

<div class="post-metadata">

**Author:** ![theresefub](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/theresefub/32/6259_2.png) [@theresefub](https://forum.mautic.org/u/theresefub)\
**Post date:** [March 18, 2022, 3:44pm UTC](https://forum.mautic.org/t/auto-save-option-for-emails-and-landing-pages/23035/5 "2022-03-18T15:44:24Z")

</div>

Thanks Joeyk! It’s not always connected to that, however. Accidents happen or computer freezes etc, in which case autosave would be very useful.

---

<div class="post-metadata">

**Author:** ![pierre\_a](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/pierre_a/32/7031_2.png) [@pierre\_a](https://forum.mautic.org/u/pierre_a)\
**Post date:** [March 30, 2022, 10:17am UTC](https://forum.mautic.org/t/auto-save-option-for-emails-and-landing-pages/23035/6 "2022-03-30T10:17:12Z")

</div>

Hello @joeyk,

I have read your solution here : [CSRF token error. Try to refresh the page and try again - #11 by joeyk](https://forum.mautic.org/t/csrf-token-error-try-to-refresh-the-page-and-try-again/16839/11)

This is not a long-term solution and has side effects on a multi-instance installation 😉

Pierre

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [March 30, 2022, 11:06am UTC](https://forum.mautic.org/t/auto-save-option-for-emails-and-landing-pages/23035/7 "2022-03-30T11:06:38Z")

</div>

Correct. I never stated otherwise 🙂

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [March 30, 2022, 11:36am UTC](https://forum.mautic.org/t/auto-save-option-for-emails-and-landing-pages/23035/8 "2022-03-30T11:36:08Z")

</div>

About multi instance problem. You should be able to set cookie\_lifetime option in config.php (framework extension).

By the looks of it, it should only effect the application (Mautic instance) and nothing else.
