Re: PEAR::Auth::setExpire(s)
| From: | Justin Patrin | Date: | Mon, 05 Nov 2007 06:59:10 +0000 |
| Subject: | Re: PEAR::Auth::setExpire(s) | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-48419@lists.php.net to get a copy of this message | ||
On 11/4/07, Junhua Wan <jwan0417@gmail.com> wrote:
> Hi ,
>
> Anyone knows how to use PEAR::Auth::setExpire(timeInSeconds) ?
>
> I did this way but it doesn't work:
>
> if( $auth->checkAuth())
> {
> $auth->setExpire(10);
>
> $_SESSION["_authsession"] = array(
> "data" => array(),
> "registered" => 1,
> "username" => "guest",
>
> );
>
> }
How do you know it's not working?
--
Justin Patrin