Re: meaning of config options

Lukas Kahwe Smith <[email protected]> Wed, 31 Aug 2005 13:34:04 +0200
Newsgroups gmane.comp.php.pear.liveuser
Message-ID <[email protected]>
Georg Gell wrote:

> sorry for the number of questions today!
> Can you explain to me the meaning for these config options:
> loginTimeout, expireTime, idleTime, allowDublicateHandles

- loginTimeout .. number of hours that must pass between two logins to 
be counted as a new login .. somehow a bit obscure feature if you ask me

- expireTime .. the maximum number of seconds a session is allowed to be 
a life

- idleTime .. the number of seconds that are allowed to be between a 
request before the session is killed

- allowDublicateHandles .. this is a performance optimization, that is 
mostly relevant to the xml container. if disabled the xml container does 
not need to continue looking for a handle/passwd match if it finds a 
handle with an incorrect password

> and one other thing, in Auth_Common::login, this properties are set:
> loggedIn, currentLogin
> are they only used in Auth_Common, or are the accessed diectly from
> LiveUser or somewhere else, in other words, do I have to care about
> these properties? It seems that Liveuser uses $auth->loggedIn, any
> others to worry about?

loggedIn is read from the LiveUser class indeed, but nowhere else.
currentLogin is read only inside the auth container itself

regards,
Lukas