You are here

README.txt in Persistent Login 7

Same filename and directory in other branches
  1. 5 README.txt
  2. 6 README.txt
Persistent Login module for Drupal
==================================

The Persistent Login module provides the familiar "Remember Me" option in the
user login form.


## Description

The module's settings allow the administrator to:

- Control how long user logins are remembered.
- Control how many different persistent logins are remembered per user.
- Control which pages a remembered user can or cannot access without explicitly
  logging in with a username and password (e.g. you cannot edit your account or
  change your password with just a persistent login).

Each user's 'My account' view tab gives them option of explicitly clearing all
of his/her remembered logins.

Persistent Login is independent of the PHP session settings and is more secure
(and user-friendly) than simply setting a long PHP session lifetime. For a
detailed discussion of the design and security of Persistent Login, see
[Improved Persistent Login Cookie Best Practice](http://www.jaspan.com/improved_persistent_login_cookie_best_practice).


## Installation

1. Add Persistent Login files to your modules directory, and enable the module.

2. For maximum security, edit your settings.php file so PHP session cookies have
   a lifetime of the browser session:

   `ini_set('session.cookie_lifetime', 0);`

3. Visit admin >> settings >> persistent_login to set how long persistent
   sessions should last and which pages users cannot access without a
   password-based login.

4. If using a reverse-proxy cache (e.g. Varnish), the configuration must be
   updated to not respond from the cache for requests that send a persistent
   login cookie.

File

README.txt
View source
  1. Persistent Login module for Drupal
  2. ==================================
  3. The Persistent Login module provides the familiar "Remember Me" option in the
  4. user login form.
  5. ## Description
  6. The module's settings allow the administrator to:
  7. - Control how long user logins are remembered.
  8. - Control how many different persistent logins are remembered per user.
  9. - Control which pages a remembered user can or cannot access without explicitly
  10. logging in with a username and password (e.g. you cannot edit your account or
  11. change your password with just a persistent login).
  12. Each user's 'My account' view tab gives them option of explicitly clearing all
  13. of his/her remembered logins.
  14. Persistent Login is independent of the PHP session settings and is more secure
  15. (and user-friendly) than simply setting a long PHP session lifetime. For a
  16. detailed discussion of the design and security of Persistent Login, see
  17. [Improved Persistent Login Cookie Best Practice](http://www.jaspan.com/improved_persistent_login_cookie_best_practice).
  18. ## Installation
  19. 1. Add Persistent Login files to your modules directory, and enable the module.
  20. 2. For maximum security, edit your settings.php file so PHP session cookies have
  21. a lifetime of the browser session:
  22. `ini_set('session.cookie_lifetime', 0);`
  23. 3. Visit admin >> settings >> persistent_login to set how long persistent
  24. sessions should last and which pages users cannot access without a
  25. password-based login.
  26. 4. If using a reverse-proxy cache (e.g. Varnish), the configuration must be
  27. updated to not respond from the cache for requests that send a persistent
  28. login cookie.