Re: [fw-general] Zend_Session and rememberMe();

2008-11-27 Thread Kevin McArthur
Sorry I thought the session was expiring server side. (For that you want to reset setExp...) Zend_Session::start(); $cp = session_get_cookie_params(); if(isset($_COOKIE[session_name()])) { //If session cookie has been set, extend it setcookie(session_name(), session_id(), time() + $cp['lif

Re: [fw-general] Zend_Session and rememberMe();

2008-11-27 Thread Tim Nagel
I added the following as a test to my bootstrap: (the default, and used namespace for Zend_Auth is 'Zend_Auth') $namespace = new Zend_Session_NameSpace('Zend_Auth'); $namespace->setExpirationSeconds(32473289748392); Where that is significantly larger than the rememberMe() call. It doesnt work

Re: [fw-general] Zend_Session and rememberMe();

2008-11-26 Thread Kevin McArthur
You just need to call setExpirationSeconds again. Tim Nagel wrote: Hello, I am trying to set sessions to be remembered for 2 weeks. I have set remember_me_seconds to 1209600. I call Zend_Session::rememberMe() once the user is authenticated. Works great. The problem occurs that the cook

[fw-general] Zend_Session and rememberMe();

2008-11-26 Thread Tim Nagel
Hello, I am trying to set sessions to be remembered for 2 weeks. I have set remember_me_seconds to 1209600. I call Zend_Session::rememberMe() once the user is authenticated. Works great. The problem occurs that the cookie expiry time is never updated after this point and will expire in 2 weeks r