
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
- Appwrite Cloud Custom Domains Issue
I’m trying to configure my custom domain api.kondri.lt (CNAME pointing to appwrite.network., also tried fra.cloud.appwrite.io with no luck ) but encountering a ...
- Persistent 401 Unauthorized on all authe...
Hello, I'm facing a critical 401 Unauthorized error on my admin panel app and have exhausted all debugging options. The Problem: When my React app on localhos...
- OpenAI Whisper on Appwrite Sites
Hey guys, just wondering if I can serve an OpenAI Whisper AI on appwrite / appwrite sites. tiny model is like ~40-50MB
