You simply call Zend_Session::rememberMe(); after you have
authenticated the user. And the forgetMe() method when the user logs
out.

/Johan Nilsson

On Tue, Mar 17, 2009 at 5:12 PM, Bram Vogelaar <[email protected]> wrote:
> Dear All i am trying to create a user session after user login with the
> following code
>
>        $auth = Zend_Auth::getInstance();
>        $auth->setStorage(new Zend_Auth_Storage_Session('login'));
>
> I am trying to figure out how to set the rememberMe() and or forgetMe()
> parameters. Can someone point me in the right direction
>
> with regards
> bram
>

Reply via email to