Reading through the description and readme doesn't give me a good amount of info of the functionality of the module.
My use case is that I browser sessions to remain only active in the browser, and not stored in a cookie (drupals default behavior). To do this, I've set the session lifetime to be 0 in settings.php.
Doing this requires users to log in everytime they visit the site. I thought this 'remember me' checkbox would set a cookie for those users for some period of time.
This doesn't seem to be the case. What am I missing here? THanks
Comments
Comment #1
v8powerage commentedFrom what I understood reading thru the code:
is that if user won't check "remember me" it overwrites drupal's default 3 weeks with 7 days (604800s) - module maintainter, am I wrong?
Comment #2
nickl commentedThe first task of this module is to allow users to your site to choose that their sessions expire, not default drupal behavior. If the remember me checkbox is not checked on log in and then the browser is closed the session cookie gets discarded and on returning to the site the user will be required to log in again.
The module can also manage the session lifetime period for when the checkbox is checked on log in by overwriting the default drupal setting. Only when the setting "Manage session lifetime" is enabled, at admin/settings/remember_me, will the standard drupal session.cookie_lifetime as configurable in settings.php be overwritten with the configured timespan which defaults to 1 week.