Re: LiveUser:: how to distinguish between normal logout and timed out logout?

From: Date: Mon, 01 Nov 2004 13:49:42 +0000
Subject: Re: LiveUser:: how to distinguish between normal logout and timed out logout?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-15270@lists.php.net to get a copy of this message
Torsten Roehr wrote:
Hi, is there a way to distinguish if a processed logout has been due to the user actively logging out or an auth idle/expire timeout? As far as I can see LiveUser uses $this->_options['logout']['redirect'] for both cases. Would be good to distinguish between both cases and inform the user in the idle/expire case.
I think we have a differnt status for each. So $LU->getStatus() should give you the information you need. regards, Lukas

« previous php.pear.general (#15270) next »