Re: Auth "remember me"
| From: | Adam Ashley | Date: | Sun, 19 Mar 2006 23:54:33 +0000 |
| Subject: | Re: Auth "remember me" | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-23347@lists.php.net to get a copy of this message | ||
On Sat, 2006-03-18 at 11:38 +0100, Alessandro Pasotti wrote:
> Hello,
>
> Does anybody knows about a tutorial, manual, link or info about adding the
> "remember me" functionality to a system using PEAR::Auth?
>
>
> Many thanks.
>
use Auth::setExpire() and Auth::setIdle() to long time periods to allow
the login session to last as long as you like.
To get the login box to remember the username build your own custom
login page that pulls the last used login name from a cookie.
Adam Ashley
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc