Zend Session Expires Fast

0

I'm having problems with the Zend session because it expires very fast, I've tried everything!

I use a base controller, where all others extend it in the init () method of the base controller I have already put:

Zend_Session::rememberMe(864000);
Zend_Session::start(); 

2- No Apllication.ini

;SESSÃO
resources.session.save_path = APPLICATION_PATH "/../data/session/"
resources.session.gc_maxlifetime = 864000
resources.session.remember_me_seconds = 864000

3- I have already changed the permissions of these data / session files to 777

4- already put in bootstrap.php

protected function _initSession()
    {
      Zend_Session::rememberMe(864000);
      Zend_Session::start();
      $this->bootstrap('session');        
    }

And nothing solved.

    
asked by anonymous 04.02.2014 / 18:51

1 answer

1
$testSpace = new Zend_Session_Namespace('testSpace');
$testSpace->setExpirationSeconds(300, 'accept_answer');
$testSpace->accept_answer = true;

I think this helps!

    
04.02.2014 / 19:44