I had a client ask me why the ’Remember Me’ button on the manager login does not work. I never worried about this but she seemed concerned that it wasn’t working and I could not answer her question. Is there a setting that I have missed that enables this feature to work?
I am not sure what it is supposed to do so I don’t know if it is working or not.
I have the same issue with it, it doesn’t always work and I never really looked into it... I guess it’s either session based (and or cookies) but I never looked this up...
.: COO - Commerce Guys - Community Driven Innovation :.
MODx est l'outil id
-
☆ A M B ☆
- 24,524 Posts
manager/processors/login.processor.php line 250
if($rememberme) {
$_SESSION['modx.mgr.session.cookie.lifetime']= intval($modx->config['session.cookie.lifetime']);
} else {
$_SESSION['modx.mgr.session.cookie.lifetime']= 0;
}
which baffles me...
It appears to be set on installation (in the system_settings table) at an arbitrary 604800, but I don’t find anywhere where it can be modified. So apparently it’s based on the session cookie, but of course server garbage collection will destroy the session file at various intervals depending on server configuration. I wonder if this "feature" is the cause of some of the odd occurrences of manager misbehavior?
Quote from: BBloke at Apr 10, 2008, 10:52 PMcheck out WebLoginPE. It’s a great snippet that will give you what you are looking for.
Not really, since WebloginPE handles web users and not manager users
Quote from: sottwell at Apr 10, 2008, 11:28 PMIt appears to be set on installation (in the system_settings table) at an arbitrary 604800, but I don’t find anywhere where it can be modified. So apparently it’s based on the session cookie, but of course server garbage collection will destroy the session file at various intervals depending on server configuration. I wonder if this "feature" is the cause of some of the odd occurrences of manager misbehavior?
Funny nobody ever came accross the same conclusion, but maybe that’s because users dismiss the remember features not working as unimportant as I did...
Anyway, that’s worth opening a ticket to get to the bottom of it !
.: COO - Commerce Guys - Community Driven Innovation :.
MODx est l'outil id