
I have the usual "Remember me" checkbox in my login form and I want to set the session expiration time to 1 hour if the user does not tick the checkbox, is this possible?
Or do you have any other way to handle such a case? It is a very common thing, but I never had to implement such functionality, any help is very much appreciated.

Maybe you can:
- Create a collection of sessions without remember me
- On log in, if they didn't check remember me, create a document in the collection
- Have an appwrite function that runs every minute or so and deletes sessions if they're older than an hour
Recommended threads
- Sharing cookies
Hi, I’m using Appwrite Cloud, and I have a setup where my Appwrite backend is hosted on a subdomain (e.g., api.example.com), while my frontend (Next.js app) and...
- Organization not exists anymore
Hello! We have a problem with a cloud database. We are on the Free plan, but after a refresh the site wants me to create a new organisation, and I not see the c...
- JSON and Object Support in Collection do...
I am working with Next.Js and Appwrite Cloud, I am relatively New to Appwrite but i have noticed there is no direct support of JSON and Object support in attrib...
