Custom Session Duration

Article author
Duncan from Memberstack

This article will show you how to set your preferred login session duration for all members.

Update Settings

1. Navigate to the Settings page.
2. Scroll down to the Security section.
3. Configure the session duration in days.
4. Click Save.

The session will now end after X days of inactivity. 

Kapture 2023-09-12 at 11.00.34.gif

Limitations

Minimum Duration

Minimum duration is 1 day. Please see this article + code snippet to end a member's session after X minutes of inactivity. 

Browser Support

This feature will "request" that the member's browser save the session for this amount of time, but each browser is different. If you notice discrepancies in your member's experiences please find out what browser they are using and leave a comment below. 

As always, please us know if you have any questions or feedback!

Was this article helpful?

Comments

9 comments

  • Comment author
    John Hsiung

    Upvote - Need this functionality

    3
  • Comment author
    Duncan from Memberstack

    John Hsiung Thank you for letting us know ūüôŹ Could you please let us know why this feature is important to you? What you want to change the session duration to?

    1
  • Comment author
    Anil Araganji

    Upvote - Need this functionality

    4
  • Comment author
    Luis Espinoza

    Need this functionality 

    1
  • Comment author
    Felipe Izquierdo

    We need this. I need the session duration to be infinite or as long as possible. The reason is we have 2 users: parents and students, the parents are the ones that create the account and pay, the students are the ones that use our website. Whenever the session expires it creates a bad experience for the students who don't know the username/password. We essentially need the Netflix experience of never logging out. 

    1
  • Comment author
    Stevie Griffin

    Upvote - My client is requesting a much longer session duration or a "remember me" functionality on the login screen to have the option for a longer session.

    1
  • Comment author
    Duncan from Memberstack

    I'm happy to report this feature is officially in development! Please keep a watch for more updates soon.

    1
  • Comment author
    Duncan from Memberstack

    Abdelhalim WithDev Stevie Griffin Felipe Izquierdo Luis Espinoza Anil Araganji John Hsiung 

    Great news! You can now set your preferred login session duration for members.
    To configure:
    1. Navigate to the Settings page
    2. Scroll down to the Security section
    3. Configure the session duration in days
    4. Click Save and Done 
    Let us know if you have any questions or feedback!
    2
  • Comment author
    Abdelhalim WithDev
    • Edited

    Thank you Duncan & Memberstack team for delivering such great features, keep it up!

    0

Please sign in to leave a comment.