Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add :ttl configuration option #84

Merged

Commits on Mar 3, 2017

  1. Add :ttl configuration option

    **Why**: The :expire_after config option controls both the Redis
    session expiration and the expiration of the Rails session cookie.
    Adding a new config option :ttl allows those controls to be
    managed separately.
    
    The most common case would be if you wanted the Rails cookie
    to expire when the browser is closed, as it would if :expire_after
    were set to `nil`.
    Peter Karman committed Mar 3, 2017
    Configuration menu
    Copy the full SHA
    71053a9 View commit details
    Browse the repository at this point in the history