# Save Date/Time Weweb Auth

**URL:** <https://community.weweb.io/t/save-date-time-weweb-auth/2890>\
**Category:** How do I?\
**Tags:** authentication\
**Created:** [May 31, 2023, 12:30pm UTC](https://community.weweb.io/t/save-date-time-weweb-auth/2890 "2023-05-31T12:30:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![miang](https://avatars.discourse-cdn.com/v4/letter/m/ebca7d/32.png) [@miang](https://community.weweb.io/u/miang)\
**Post date:** [May 31, 2023, 12:30pm UTC](https://community.weweb.io/t/save-date-time-weweb-auth/2890/1 "2023-05-31T12:30:38Z")

</div>

Hi, I would like to save the values {user name} and {date/time} each time a user logs in the app. How can I achieve that? Thank you 🙂

---

<div class="post-metadata">

**Author:** ![Dorian](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/dorian/32/13183_2.png) [@Dorian](https://community.weweb.io/u/Dorian)\
**Post date:** [June 2, 2023, 5:22am UTC](https://community.weweb.io/t/save-date-time-weweb-auth/2890/2 "2023-06-02T05:22:44Z")

</div>

You want to have access to them temporarily during the session or you want to keep a permanent record of every time someone logs in?

---

<div class="post-metadata">

**Author:** ![miang](https://avatars.discourse-cdn.com/v4/letter/m/ebca7d/32.png) [@miang](https://community.weweb.io/u/miang)\
**Post date:** [June 2, 2023, 6:32am UTC](https://community.weweb.io/t/save-date-time-weweb-auth/2890/3 "2023-06-02T06:32:02Z")

</div>

The latter please 🙏 A permanent record of every time someone logs one. Thank you

---

<div class="post-metadata">

**Author:** ![Quentin](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/quentin/32/6_2.png) [@Quentin](https://community.weweb.io/u/Quentin)\
**Post date:** [June 2, 2023, 1:58pm UTC](https://community.weweb.io/t/save-date-time-weweb-auth/2890/4 "2023-06-02T13:58:25Z")

</div>

You could use an on app load workflow which checks if a user is logged in, and if true, will send this info back to your backend.

---

<div class="post-metadata">

**Author:** ![Dorian](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/dorian/32/13183_2.png) [@Dorian](https://community.weweb.io/u/Dorian)\
**Post date:** [June 2, 2023, 3:41pm UTC](https://community.weweb.io/t/save-date-time-weweb-auth/2890/5 "2023-06-02T15:41:33Z")

</div>

What Quentin said. 🙂
