Re: cvs: pear /Auth Auth.php Container.php /Auth/Container DB.php
| From: | Tobias Nix | Date: | Fri, 13 Jul 2001 12:18:48 +0000 |
| Subject: | Re: cvs: pear /Auth Auth.php Container.php /Auth/Container DB.php | ||
| References: | 1 | Groups: | php.pear.cvs |
| Request: | Send a blank email to pear-cvs+get-270@lists.php.net to get a copy of this message | ||
> Added files:
> /pear/Auth Auth.php Container.php
> /pear/Auth/Container DB.php
should this line be added to refresh Auth lifetime ?
/pear/auth/Auth.php
function check_auth()
--------------
250: if ($GLOBALS['HTTP_SESSION_VARS']['auth']['registered']
==
true &&
251: $GLOBALS['HTTP_SESSION_VARS']['auth']['username']
!= "")
{
+ 252: $GLOBALS['HTTP_SESSION_VARS']['auth']['timestamp']
=
time();
253: return true;
254: }
--------------
Tobias.