Zend framework session expires prematurely

前端 未结 5 979
既然无缘
既然无缘 2020-12-14 21:28

I\'m using Zend Framework for PHP and handling sessions with the Zend_Session module. This is what I have in my Initializer (or bootstrap):

Zend_Session::st         


        
5条回答
  •  孤街浪徒
    2020-12-14 22:05

    I guess you are using ZF 1.8 or above , so you can put in the config.ini file

    resources.session.save_path = APPLICATION_PATH "/../data/session" resources.session.remember_me_seconds = 864000

    and these setting will automatically loaded again only in ZF 1.8 or above if not you had to load these config manually i hope it helps you :)

提交回复
热议问题